fix: clicks disabled when game stops

This commit is contained in:
pskfyi 2022-01-13 23:16:18 -08:00 committed by pskfyi
commit 7bdbc36800

View file

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