# Make pop bonuses increase the pop limit, not decrease
This was SVN commit r7434.
This commit is contained in:
parent
992d0b04c1
commit
bddb73af13
@ -62,7 +62,7 @@ Player.prototype.OnGlobalOwnershipChanged = function(msg)
|
||||
if (cost)
|
||||
{
|
||||
this.popCount -= cost.GetPopCost();
|
||||
this.popLimit += cost.GetPopBonus();
|
||||
this.popLimit -= cost.GetPopBonus();
|
||||
}
|
||||
}
|
||||
|
||||
@ -72,7 +72,7 @@ Player.prototype.OnGlobalOwnershipChanged = function(msg)
|
||||
if (cost)
|
||||
{
|
||||
this.popCount += cost.GetPopCost();
|
||||
this.popLimit -= cost.GetPopBonus();
|
||||
this.popLimit += cost.GetPopBonus();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user