Fix soviet06 unit production

This commit is contained in:
Biofreak1987
2015-10-25 14:47:35 +01:00
parent 82144ce975
commit 454ac1edaf
2 changed files with 4 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ BuildBuilding = function(building)
end end
ProduceInfantry = function() ProduceInfantry = function()
if not BaseBuildings[2][4] then if not BaseTent.exists then
return return
elseif Harvester.IsDead and enemy.Resources <= 299 then elseif Harvester.IsDead and enemy.Resources <= 299 then
return return
@@ -77,7 +77,7 @@ ProduceInfantry = function()
end end
ProduceArmor = function() ProduceArmor = function()
if not BaseBuildings[4][4] then if not BaseWeap.exists then
return return
elseif Harvester.IsDead and enemy.Resources <= 599 then elseif Harvester.IsDead and enemy.Resources <= 599 then
return return

View File

@@ -54,7 +54,7 @@ BuildBuilding = function(building)
end end
ProduceInfantry = function() ProduceInfantry = function()
if not BaseBuildings[2][4] then if not BaseTent.exists then
return return
elseif Harvester.IsDead and enemy.Resources <= 299 then elseif Harvester.IsDead and enemy.Resources <= 299 then
return return
@@ -77,7 +77,7 @@ ProduceInfantry = function()
end end
ProduceArmor = function() ProduceArmor = function()
if not BaseBuildings[4][4] then if not BaseWeap.exists then
return return
elseif Harvester.IsDead and enemy.Resources <= 599 then elseif Harvester.IsDead and enemy.Resources <= 599 then
return return