From 3bc70f5576d4a8a47dd40b08e64f10a6f7341afa Mon Sep 17 00:00:00 2001 From: PRO100KatYT Date: Sun, 17 Apr 2022 12:20:32 +0200 Subject: [PATCH] Season 20 lobby background fix --- structure/functions.js | 4 ++++ structure/main.js | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/structure/functions.js b/structure/functions.js index fea2751..5a674db 100644 --- a/structure/functions.js +++ b/structure/functions.js @@ -231,6 +231,10 @@ function getContentPages(req) { contentpages.subgameinfo.battleroyale.image = "https://cdn.discordapp.com/attachments/927739901540188200/930880421514846268/19br-wf-subgame-select-512x1024-16d8bb0f218f.jpg"; contentpages.specialoffervideo.bSpecialOfferEnabled = "true"; } + + if (memory.season == 20) { + contentpages.dynamicbackgrounds.backgrounds.backgrounds[0].backgroundimage = "https://cdn2.unrealengine.com/t-bp20-lobby-2048x1024-d89eb522746c.png"; + } } catch (err) {} return contentpages; diff --git a/structure/main.js b/structure/main.js index c904788..47a647e 100644 --- a/structure/main.js +++ b/structure/main.js @@ -52,11 +52,7 @@ express.get("/fortnite/api/game/v2/friendcodes/*/epic", async (req, res) => { express.get("/launcher/api/public/distributionpoints/", async (req, res) => { res.json({ "distributions": [ - "https://download.epicgames.com/", - "https://download2.epicgames.com/", - "https://download3.epicgames.com/", - "https://download4.epicgames.com/", - "https://epicgames-download1.akamaized.net/" + "https://lawinserver.ol.epicgames.com/" ] }); })