Fix missing this call

Reported by: @trompetin17
Pull Request: #8265
Fixes: e35fce8524
This commit is contained in:
Stan committed 2025-08-09 16:32:09 +02:00
1 parent 73ca3d303b
commit 0dc9477109
1 file changed
+1 -1
@@ -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();