From 957d0562e1f5ee92080915053323b712eb4ff269 Mon Sep 17 00:00:00 2001 From: FloPinguin <25036848+FloPinguin@users.noreply.github.com> Date: Tue, 20 Jan 2026 01:34:22 +0100 Subject: [PATCH] Quickfix: Disable nations in ranked and change map selection (#2957) ## Description: Quickfix: Disable nations in ranked and change map selection (Lewis wanted these, Australia three times so it occurs more often) Just a quickfix, we will probably have to improve the map selection later on, and maybe play on non-compact maps too? ## Please complete the following: - [X] I have added screenshots for all UI updates - [X] I process any text displayed to the user through translateText() and I've added it to the en.json file - [X] I have added relevant tests to the test directory - [X] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: FloPinguin --- src/server/MapPlaylist.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/server/MapPlaylist.ts b/src/server/MapPlaylist.ts index 93926de44..c9cf49a17 100644 --- a/src/server/MapPlaylist.ts +++ b/src/server/MapPlaylist.ts @@ -144,12 +144,11 @@ export class MapPlaylist { } public get1v1Config(): GameConfig { - const ffaMaps = [ + const maps = [ GameMapType.Iceland, - GameMapType.World, - GameMapType.EuropeClassic, GameMapType.Australia, - GameMapType.FaroeIslands, + GameMapType.Australia, + GameMapType.Australia, GameMapType.Pangaea, GameMapType.Italia, GameMapType.FalklandIslands, @@ -158,7 +157,7 @@ export class MapPlaylist { return { donateGold: false, donateTroops: false, - gameMap: ffaMaps[Math.floor(Math.random() * ffaMaps.length)], + gameMap: maps[Math.floor(Math.random() * maps.length)], maxPlayers: 2, gameType: GameType.Public, gameMapSize: GameMapSize.Compact, @@ -169,7 +168,7 @@ export class MapPlaylist { maxTimerValue: 10, // 10 minutes instantBuild: false, randomSpawn: false, - disableNations: false, + disableNations: true, gameMode: GameMode.FFA, bots: 100, spawnImmunityDuration: 5 * 10,