forked from mirrors/0ad
Add missing queueplanBuilding.js changes lost somewhere when updating D3654
This was SVN commit r25049.
This commit is contained in:
@@ -891,7 +891,8 @@ PETRA.ConstructionPlan.prototype.isGo = function(gameState)
|
||||
{
|
||||
if (this.goRequirement && this.goRequirement == "houseNeeded")
|
||||
{
|
||||
if (!gameState.ai.HQ.canBuild(gameState, "structures/{civ}/house"))
|
||||
if (!gameState.ai.HQ.canBuild(gameState, "structures/{civ}/house")
|
||||
!gameState.ai.HQ.canBuild(gameState, "structures/{civ}/apartment"))
|
||||
return false;
|
||||
if (gameState.getPopulationMax() <= gameState.getPopulationLimit())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user