fix minimal population growth

This commit is contained in:
1brucben
2025-04-23 05:09:34 +02:00
parent f00608c3c7
commit b3fd34ffaf
+1 -1
View File
@@ -591,7 +591,7 @@ export class DefaultConfig implements Config {
populationIncreaseRate(player: Player): number {
const max = this.maxPopulation(player);
let toAdd = (800 / max + 1 / 160) * player.population();
let toAdd = 10 + (800 / max + 1 / 160) * player.population();
const ratio = 1 - player.population() / max;
toAdd *= ratio;