Permalink
Browse files

fixed unit factory math.random

  • Loading branch information...
Damgam committed Dec 2, 2017
1 parent a1d8f27 commit 6c7a18df98c602d48ccc2453bc42410fad9b2d25
Showing with 2 additions and 2 deletions.
  1. +2 −2 LuaRules/Gadgets/ai/EvoRTS/taskqueues.lua
@@ -459,7 +459,7 @@ function RandomUnit()
elseif Spring.GetGameSeconds() > 1000 and Spring.GetGameSeconds() <= 1300 then ------- Reached Tech 3 MK 3
local r = math.random(0,11)
local r = math.random(0,9)
if r == 0 then
return "eheavytank3_up2"
elseif r == 1 then
@@ -495,7 +495,7 @@ function RandomUnit()
elseif Spring.GetGameSeconds() > 1300 then ------- Reached MK 4
local r = math.random(0,11)
local r = math.random(0,9)
if r == 0 then
return "eheavytank3_up3"
elseif r == 1 then

0 comments on commit 6c7a18d

Please sign in to comment.