diff --git a/binaries/data/mods/public/simulation/components/PopulationCapManager.js b/binaries/data/mods/public/simulation/components/PopulationCapManager.js index 5d1240ad96..32d055d1fa 100644 --- a/binaries/data/mods/public/simulation/components/PopulationCapManager.js +++ b/binaries/data/mods/public/simulation/components/PopulationCapManager.js @@ -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();