From 8038e67e715f4b8f22aedf59184bb72b79b148de Mon Sep 17 00:00:00 2001 From: tsa96 Date: Thu, 7 Dec 2023 17:18:45 +0000 Subject: [PATCH] refactor: start xmas background on 18th instead of 25th --- scripts/pages/main-menu/main-menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pages/main-menu/main-menu.js b/scripts/pages/main-menu/main-menu.js index 1ec4e0c5..1e08bff6 100644 --- a/scripts/pages/main-menu/main-menu.js +++ b/scripts/pages/main-menu/main-menu.js @@ -266,7 +266,7 @@ class MainMenu { // If it's xmas and you're using one of the default backgrounds, replace it with the xmas version const date = new Date(); - if (date.getMonth() === 11 && date.getDate() >= 25 && backgroundVar <= 1) { + if (date.getMonth() === 11 && date.getDate() >= 18 && backgroundVar <= 1) { name = 'MomentumXmas'; } else { // Using a switch as we're likely to add more of these in the future