From a0b34c8320f50a71b86592a603e32401c8aac0a0 Mon Sep 17 00:00:00 2001 From: PRO100KatYT <67335438+PRO100KatYT@users.noreply.github.com> Date: Sat, 22 Feb 2025 18:09:36 +0100 Subject: [PATCH] Fixed lobby backgrounds for some seasons --- structure/functions.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/structure/functions.js b/structure/functions.js index 339559c..9a5daa7 100644 --- a/structure/functions.js +++ b/structure/functions.js @@ -256,11 +256,14 @@ function getContentPages(req) { backgrounds[1].stage = season; switch (memory.season) { - case 10: backgrounds[0].stage = "seasonx"; backgrounds[1].stage = "seasonx"; break; + + case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: + // Just do nothing here for these seasons + break; case 20: backgrounds[0].backgroundimage = "https://cdn2.unrealengine.com/t-bp20-lobby-2048x1024-d89eb522746c.png"; @@ -414,4 +417,4 @@ module.exports = { MakeID, sendXmppMessageToAll, DecodeBase64 -} \ No newline at end of file +}