Merge pull request #9764 from Biofreak1987/fix_soviet06
Fix unit production in soviet06
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user