fix: clicks disabled when game stops
This commit is contained in:
parent
08951244ab
commit
7bdbc36800
|
@ -35,6 +35,8 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
click() {
|
click() {
|
||||||
|
if (this.$store.state.gameStopped) return
|
||||||
|
|
||||||
this.$store.commit('addCurrency', 1)
|
this.$store.commit('addCurrency', 1)
|
||||||
if (
|
if (
|
||||||
this.$store.getters.isTabUnlocked('Time Magic') &&
|
this.$store.getters.isTabUnlocked('Time Magic') &&
|
||||||
|
|
Reference in New Issue