Fix being active during Nov instead of Dec

This commit is contained in:
thepaperpilot 2023-12-01 20:07:01 -06:00
parent fa186891c7
commit e5ed595480

View file

@ -81,7 +81,7 @@ const canOpen = computed(
() => () =>
props.layer != null && props.layer != null &&
Decimal.gte(main.day.value, props.day) && 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) (new Date().getDate() >= props.day || player.ignoreDate === IgnoreDateSettings.IgnoreDay)
); );