Merge pull request #9764 from Biofreak1987/fix_soviet06

Fix unit production in soviet06
This commit is contained in:
Matthias Mailänder
2015-10-25 17:37:31 +01:00
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