mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-01-31 15:41:37 +00:00
Fix wrapping paper modal replacing metal decorating modal
This commit is contained in:
parent
f3ce9cc0ca
commit
a84eceea65
1 changed files with 5 additions and 1 deletions
|
@ -430,7 +430,11 @@ const layer = createLayer(id, () => {
|
||||||
})) as GenericBar;
|
})) as GenericBar;
|
||||||
|
|
||||||
watchEffect(() => {
|
watchEffect(() => {
|
||||||
if (main.day.value === day && Decimal.gte(masteredDays.value, 6)) {
|
if (
|
||||||
|
main.day.value === day &&
|
||||||
|
Decimal.gte(masteredDays.value, 6) &&
|
||||||
|
main.showLoreModal.value === false
|
||||||
|
) {
|
||||||
main.completeDay();
|
main.completeDay();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue