diff --git a/src/core/configuration/DefaultConfig.ts b/src/core/configuration/DefaultConfig.ts index 6a48d1826..bdb17e3ae 100644 --- a/src/core/configuration/DefaultConfig.ts +++ b/src/core/configuration/DefaultConfig.ts @@ -147,7 +147,7 @@ export abstract class DefaultServerConfig implements ServerConfig { const [l, m, s] = numPlayersConfig[map] ?? [50, 30, 20]; const r = Math.random(); const base = r < 0.3 ? l : r < 0.6 ? m : s; - return mode === GameMode.Team ? Math.ceil(base * 1.5) : base; + return Math.min(mode === GameMode.Team ? Math.ceil(base * 1.5) : base, 150); } workerIndex(gameID: GameID): number {