From 8b03dfe8f5e370f6a27e6f4c96c7841ab63585f3 Mon Sep 17 00:00:00 2001 From: Allanis Date: Sat, 16 Mar 2013 22:57:31 +0000 Subject: [PATCH] [Fix] None random credits. --- scripts/ai/empire.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ai/empire.lua b/scripts/ai/empire.lua index a74c5f6..b458f7f 100644 --- a/scripts/ai/empire.lua +++ b/scripts/ai/empire.lua @@ -34,7 +34,7 @@ end function create() if ai.rnd(0,2)==0 then -- More money, but less often. - ai.setcredits(1000, ai.shipprice()/70) + ai.setcredits(ai.rnd(1000, ai.shipprice()/70)) end if ai.rnd(0,2)==0 then ai.broadcast("The Empire is watching")