mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 12:40:46 +00:00
make max pop 100 million on creative so it fits in the UI panel
This commit is contained in:
@@ -371,7 +371,7 @@ export class DefaultConfig implements Config {
|
||||
maxPopulation(player: Player | PlayerView): number {
|
||||
let maxPop =
|
||||
player.type() == PlayerType.Human && this.creativeMode()
|
||||
? 999_999_999_999
|
||||
? 1_000_000_000
|
||||
: 2 * (Math.pow(player.numTilesOwned(), 0.6) * 1000 + 50000) +
|
||||
player.units(UnitType.City).length * this.cityPopulationIncrease();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user