From dd4766058edc6e8645a0dcd3400381eca7001223 Mon Sep 17 00:00:00 2001 From: PRO100KatYT Date: Fri, 17 Dec 2021 20:34:23 +0100 Subject: [PATCH] Use seasondata instead of req headers --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 2c4ee17..111c093 100644 --- a/index.js +++ b/index.js @@ -5598,7 +5598,7 @@ function getContentPages(req) { contentpages.dynamicbackgrounds.backgrounds.backgrounds[1].stage = "Winter19"; } - if (req.headers["user-agent"].includes("Release-19.01")) { + if (seasondata.build == 19.01) { contentpages.dynamicbackgrounds.backgrounds.backgrounds[0].stage = "winter2021"; contentpages.dynamicbackgrounds.backgrounds.backgrounds[0].backgroundimage = "https://cdn2.unrealengine.com/t-bp19-lobby-xmas-2048x1024-f85d2684b4af.png"; contentpages.specialoffervideo.bSpecialOfferEnabled = "true";