From 7b27f71fea03858a51e6599133c426e64a59317c Mon Sep 17 00:00:00 2001
From: FloPinguin <25036848+FloPinguin@users.noreply.github.com>
Date: Sun, 15 Mar 2026 03:19:10 +0100
Subject: [PATCH] =?UTF-8?q?Revert=20"Rearrange=20homepage=20game=20boxes?=
=?UTF-8?q?=20&=20tune=20special=20modifier=20probabilities=20=F0=9F=8E=B2?=
=?UTF-8?q?=E2=80=A6"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This reverts commit 2419f77f1741890ac40344ffd2cb23976aec5b42.
---
src/client/GameModeSelector.ts | 48 ++++++++++++++++++----------------
src/server/MapPlaylist.ts | 26 +++++++++---------
2 files changed, 38 insertions(+), 36 deletions(-)
diff --git a/src/client/GameModeSelector.ts b/src/client/GameModeSelector.ts
index 088498226..20319614b 100644
--- a/src/client/GameModeSelector.ts
+++ b/src/client/GameModeSelector.ts
@@ -150,30 +150,35 @@ export class GameModeSelector extends LitElement {
-
- ${ffa
+
+ ${special
? html`
- ${this.renderLobbyCard(ffa, this.getLobbyTitle(ffa))}
+ ${this.renderSpecialLobbyCard(special)}
`
- : nothing}
+ : ffa
+ ? html`
+ ${this.renderLobbyCard(ffa, this.getLobbyTitle(ffa))}
+
`
+ : nothing}
-
- ${teams || special
- ? html`
- ${teams
- ? html`
- ${this.renderLobbyCard(teams, this.getLobbyTitle(teams))}
-
`
- : nothing}
- ${special
- ? html`
- ${this.renderSpecialLobbyCard(special)}
-
`
- : nothing}
-
`
- : nothing}
+
+
+ ${special && ffa
+ ? html`
+ ${this.renderLobbyCard(ffa, this.getLobbyTitle(ffa))}
+
`
+ : nothing}
+ ${teams
+ ? html`
+ ${this.renderLobbyCard(teams, this.getLobbyTitle(teams))}
+
`
+ : nothing}
+
-
+
+
+ ${special ? this.renderSpecialLobbyCard(special) : nothing}
+
${ffa
? this.renderLobbyCard(ffa, this.getLobbyTitle(ffa))
@@ -184,9 +189,6 @@ export class GameModeSelector extends LitElement {
? this.renderLobbyCard(teams, this.getLobbyTitle(teams))
: nothing}
-
- ${special ? this.renderSpecialLobbyCard(special) : nothing}
-
diff --git a/src/server/MapPlaylist.ts b/src/server/MapPlaylist.ts
index 2cd9e0280..bb37e0d3c 100644
--- a/src/server/MapPlaylist.ts
+++ b/src/server/MapPlaylist.ts
@@ -109,14 +109,14 @@ type ModifierKey =
// Each entry represents one "ticket" in the pool. More tickets = higher chance of selection.
const SPECIAL_MODIFIER_POOL: ModifierKey[] = [
- ...Array