forked from 0ad/0ad
Now much more strictly restricts the game to 1 foundation at once.
This was SVN commit r10344.
This commit is contained in:
parent
a5a134fa87
commit
64a0a5e58a
@ -247,7 +247,9 @@ var EconomyManager = Class({
|
||||
for each (var building in this.targetBuildings)
|
||||
{
|
||||
var numBuildings = gameState.countEntitiesAndQueuedWithType(gameState.applyCiv(building.template));
|
||||
|
||||
if (gameState.findFoundations().length > 0){
|
||||
return;
|
||||
}
|
||||
// If we have too few, build another
|
||||
if (numBuildings < building.count)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user