mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 16:13:57 +00:00
Fix hotkey in factory
This commit is contained in:
parent
ec8a873973
commit
77cd315dcb
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import Spacer from "components/layout/Spacer.vue";
|
|||
import { jsx } from "features/feature";
|
||||
import { globalBus } from "game/events";
|
||||
import { createLayer } from "game/layers";
|
||||
import { Persistent, persistent, State } from "game/persistence";
|
||||
import { noPersist, Persistent, persistent, State } from "game/persistence";
|
||||
import Decimal, { format, formatWhole } from "util/bignum";
|
||||
import { Direction } from "util/common";
|
||||
import { computed, ComputedRef, reactive, ref, watchEffect } from "vue";
|
||||
|
@ -285,7 +285,7 @@ const factory = createLayer(id, () => {
|
|||
onPress() {
|
||||
compSelected.value = comp;
|
||||
},
|
||||
enabled: main.days[day - 1].opened
|
||||
enabled: noPersist(main.days[day - 1].opened)
|
||||
}));
|
||||
return acc;
|
||||
}, {} as Record<FactoryCompNames, GenericHotkey>);
|
||||
|
|
Loading…
Reference in a new issue