diff --git a/src/core/configuration/DefaultConfig.ts b/src/core/configuration/DefaultConfig.ts index f64628d29..20ffc0300 100644 --- a/src/core/configuration/DefaultConfig.ts +++ b/src/core/configuration/DefaultConfig.ts @@ -145,8 +145,11 @@ export class DefaultConfig implements Config { cost: (p: Player) => p.type() == PlayerType.Human && this.infiniteGold() ? 0 - : (p.unitsIncludingConstruction(UnitType.Warship).length + 1) * - 250_000, + : Math.min( + 1_000_000, + (p.unitsIncludingConstruction(UnitType.Warship).length + 1) * + 250_000, + ), territoryBound: false, maxHealth: 1000, };