Skip to content

Commit

Permalink
refactor: start xmas background on 18th instead of 25th
Browse files Browse the repository at this point in the history
  • Loading branch information
tsa96 authored and Gocnak committed Dec 9, 2023
1 parent 8a3e448 commit 4075721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pages/main-menu/main-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4075721

Please sign in to comment.