Skip to content

Commit

Permalink
WTF Damgam
Browse files Browse the repository at this point in the history
  • Loading branch information
Damgam committed Oct 8, 2018
1 parent 50dc7ee commit d6f995c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LuaRules/Gadgets/ai/EvoRTS/taskqueues.lua
Expand Up @@ -155,7 +155,7 @@ end
elseif su >= sm-20 and sm ~= 400 then
return "estorage"

elseif GG.TechCheck("tech1", ai.id) == false and Spring.GetTeamUnitDefCount(ai.id, UnitDefNames.etech1.id) ~= 0 then
elseif GG.TechCheck("tech1", ai.id) == false and Spring.GetTeamUnitDefCount(ai.id, UnitDefNames.etech1.id) == 0 then
return "etech1"

else
Expand Down Expand Up @@ -338,7 +338,7 @@ function RandomOverseer()
return "eorb_up3"
end
end
elseif GG.TechCheck("tech1", ai.id) == false and Spring.GetTeamUnitDefCount(ai.id, UnitDefNames.etech1.id) ~= 0 then
elseif GG.TechCheck("tech1", ai.id) == false and Spring.GetTeamUnitDefCount(ai.id, UnitDefNames.etech1.id) == 0 then
return "etech1"

elseif es < Spring.GetGameSeconds()*0.5 then
Expand Down

0 comments on commit d6f995c

Please sign in to comment.