Fixed lobby backgrounds for some seasons

This commit is contained in:
PRO100KatYT
2025-02-22 18:09:36 +01:00
committed by GitHub
parent bca9ecd145
commit a0b34c8320

View File

@@ -256,11 +256,14 @@ function getContentPages(req) {
backgrounds[1].stage = season; backgrounds[1].stage = season;
switch (memory.season) { switch (memory.season) {
case 10: case 10:
backgrounds[0].stage = "seasonx"; backgrounds[0].stage = "seasonx";
backgrounds[1].stage = "seasonx"; backgrounds[1].stage = "seasonx";
break; 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: case 20:
backgrounds[0].backgroundimage = "https://cdn2.unrealengine.com/t-bp20-lobby-2048x1024-d89eb522746c.png"; backgrounds[0].backgroundimage = "https://cdn2.unrealengine.com/t-bp20-lobby-2048x1024-d89eb522746c.png";
@@ -414,4 +417,4 @@ module.exports = {
MakeID, MakeID,
sendXmppMessageToAll, sendXmppMessageToAll,
DecodeBase64 DecodeBase64
} }