From 0dc94771099b64c143f34997a7a5ccb6df32ae62 Mon Sep 17 00:00:00 2001 From: Stan Date: Wed, 6 Aug 2025 21:13:13 +0200 Subject: [PATCH] Fix missing this call Reported by: @trompetin17 Pull Request: #8265 Fixes: e35fce85248e0d5bee8d977ec17e6f9373f7bd27 --- .../mods/public/simulation/components/PopulationCapManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();