From af17fb85dd61588ade28f306754f2e9ccad9d09b Mon Sep 17 00:00:00 2001 From: evanpelle Date: Thu, 11 Dec 2025 13:52:04 -0800 Subject: [PATCH] update ratio of ffa:team games to 2:1 --- src/server/MapPlaylist.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/server/MapPlaylist.ts b/src/server/MapPlaylist.ts index 85095524a..0ad79907b 100644 --- a/src/server/MapPlaylist.ts +++ b/src/server/MapPlaylist.ts @@ -134,8 +134,6 @@ export class MapPlaylist { const ffa1: GameMapType[] = rand.shuffleArray([...maps]); const team1: GameMapType[] = rand.shuffleArray([...maps]); const ffa2: GameMapType[] = rand.shuffleArray([...maps]); - const team2: GameMapType[] = rand.shuffleArray([...maps]); - const ffa3: GameMapType[] = rand.shuffleArray([...maps]); this.mapsPlaylist = []; for (let i = 0; i < maps.length; i++) { @@ -150,14 +148,6 @@ export class MapPlaylist { if (!this.addNextMap(this.mapsPlaylist, ffa2, GameMode.FFA)) { return false; } - if (!this.disableTeams) { - if (!this.addNextMap(this.mapsPlaylist, team2, GameMode.Team)) { - return false; - } - } - if (!this.addNextMap(this.mapsPlaylist, ffa3, GameMode.FFA)) { - return false; - } } return true; }