Use seasondata instead of req headers

This commit is contained in:
PRO100KatYT
2021-12-17 20:34:23 +01:00
parent 1aa3b028aa
commit dd4766058e

View File

@@ -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";