mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 08:12:41 +00:00
Fix being active during Nov instead of Dec
This commit is contained in:
parent
fa186891c7
commit
e5ed595480
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ const canOpen = computed(
|
|||
() =>
|
||||
props.layer != null &&
|
||||
Decimal.gte(main.day.value, props.day) &&
|
||||
(new Date().getMonth() === 10 || player.ignoreDate !== IgnoreDateSettings.AsIntended) &&
|
||||
(new Date().getMonth() === 11 || player.ignoreDate !== IgnoreDateSettings.AsIntended) &&
|
||||
(new Date().getDate() >= props.day || player.ignoreDate === IgnoreDateSettings.IgnoreDay)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue