From e2dead5cccf13ac695b4516effafb6d5edec387f Mon Sep 17 00:00:00 2001 From: pskfyi Date: Sat, 15 Jan 2022 00:54:40 -0800 Subject: [PATCH] fix: disable purchsing apprentices and spending energy after time stops --- components/ApprenticeButton.vue | 1 + pages/TimeMachine.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/ApprenticeButton.vue b/components/ApprenticeButton.vue index 8dd8c6b..e590e9c 100644 --- a/components/ApprenticeButton.vue +++ b/components/ApprenticeButton.vue @@ -6,6 +6,7 @@ :value="$store.state.currency" :current="current" :next="next" + :disabled="$store.state.gameStopped" @click="levelUp" /> diff --git a/pages/TimeMachine.vue b/pages/TimeMachine.vue index e29e738..d790582 100644 --- a/pages/TimeMachine.vue +++ b/pages/TimeMachine.vue @@ -1,5 +1,5 @@