From 3bf3d7172ba2be0221a18b8b836d6590322b43a4 Mon Sep 17 00:00:00 2001 From: 1brucben <1benjbruce@gmail.com> Date: Thu, 5 Jun 2025 00:32:38 +0200 Subject: [PATCH] restore total pop --- src/core/configuration/DefaultConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/configuration/DefaultConfig.ts b/src/core/configuration/DefaultConfig.ts index cf3b635e5..d8000114d 100644 --- a/src/core/configuration/DefaultConfig.ts +++ b/src/core/configuration/DefaultConfig.ts @@ -693,7 +693,7 @@ export class DefaultConfig implements Config { const basePopGrowthRate = 1400 / max + 1 / 175; const reproductionPop = player.troops() + 1.15 * player.workers(); let toAdd = baseAdditionRate + basePopGrowthRate * reproductionPop; - const totalPop = player.population(); + const totalPop = player.totalPopulation(); const ratio = Math.max(1 - totalPop / max, 0); toAdd *= ratio ** 1.222;