Merge pull request #17 from CrazyCSIW6/patch-1

Disable Christmas lobby in Season 2 versions after its intended removal
This commit is contained in:
Lawin0129
2021-10-15 16:12:39 +01:00
committed by GitHub

View File

@@ -42,32 +42,32 @@ function CheckLobbyAndSeason(req, seasondata) {
// patch 2.2 // patch 2.2
if (req.headers["user-agent"].includes("3841827")) { if (req.headers["user-agent"].includes("3841827")) {
seasondata.season = 2; seasondata.season = 2;
seasondata.lobby = "LobbyWinterDecor"; seasondata.lobby = "LobbySeason2";
} }
// patch 2.3.0 // patch 2.3.0
if (req.headers["user-agent"].includes("3847564")) { if (req.headers["user-agent"].includes("3847564")) {
seasondata.season = 2; seasondata.season = 2;
seasondata.lobby = "LobbyWinterDecor"; seasondata.lobby = "LobbySeason2";
} }
// patch 2.4.0 // patch 2.4.0
if (req.headers["user-agent"].includes("3858292")) { if (req.headers["user-agent"].includes("3858292")) {
seasondata.season = 2; seasondata.season = 2;
seasondata.lobby = "LobbyWinterDecor"; seasondata.lobby = "LobbySeason2";
} }
// patch 2.4.X // patch 2.4.X
if (req.headers["user-agent"].includes("3876086")) { if (req.headers["user-agent"].includes("3876086")) {
seasondata.season = 2; seasondata.season = 2;
seasondata.lobby = "LobbyWinterDecor"; seasondata.lobby = "LobbySeason2";
} }
// patch 2.4.2 // patch 2.4.2
if (req.headers["user-agent"].includes("3870737")) { if (req.headers["user-agent"].includes("3870737")) {
seasondata.season = 2; seasondata.season = 2;
seasondata.lobby = "LobbyWinterDecor"; seasondata.lobby = "LobbySeason2";
} }
// patch 2.5 // patch 2.5
if (req.headers["user-agent"].includes("3889387")) { if (req.headers["user-agent"].includes("3889387")) {
seasondata.season = 2; seasondata.season = 2;
seasondata.lobby = "LobbyWinterDecor"; seasondata.lobby = "LobbySeason2";
} }
// patch 3.0 // patch 3.0
if (req.headers["user-agent"].includes("3901517")) { if (req.headers["user-agent"].includes("3901517")) {