From 7bdbc368003dfaea76e356ce2ebd3f5ba29dd5f6 Mon Sep 17 00:00:00 2001 From: pskfyi Date: Thu, 13 Jan 2022 23:16:18 -0800 Subject: [PATCH] fix: clicks disabled when game stops --- components/KeyArtStage.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/KeyArtStage.vue b/components/KeyArtStage.vue index 0f47c44..690ab24 100644 --- a/components/KeyArtStage.vue +++ b/components/KeyArtStage.vue @@ -35,6 +35,8 @@ export default { }, methods: { click() { + if (this.$store.state.gameStopped) return + this.$store.commit('addCurrency', 1) if ( this.$store.getters.isTabUnlocked('Time Magic') &&