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

View File

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