1
0
forked from mirrors/0ad

Fix missing this call

Reported by: @trompetin17
Pull Request: #8265
Fixes: e35fce8524
This commit is contained in:
Stan
2025-08-06 21:13:13 +02:00
parent 73ca3d303b
commit 0dc9477109
@@ -22,7 +22,7 @@ PopulationCapManager.prototype.SetPopulationCapType = function(type)
else
{
warn(`Attempted to set an unknown population capacity type: '${type}'. Continuing with type 'Player Population'...`);
this.popCapType = CAPTYPE_PLAYER_POPULATION;
this.popCapType = this.CAPTYPE_PLAYER_POPULATION;
}
if (this.popCap)
this.InitializePopCaps();