fix: clicks disabled when game stops

This commit is contained in:
pskfyi 2022-01-13 23:16:18 -08:00 committed by pskfyi
parent 08951244ab
commit 7bdbc36800
1 changed files with 2 additions and 0 deletions

View File

@ -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') &&