fixed bug with crystal saper

This commit is contained in:
Kostya
2024-02-12 00:40:39 +03:00
parent 20e0baefa7
commit 904ab834b7

View File

@@ -421,7 +421,6 @@ export default {
created() {
const AUTHTOKEN = GetCookie('AUTHTOKEN')
const SEARCHTOKEN = GetCookie('SearchToken')
this.amountCrystals = 5
if (AUTHTOKEN !== null && SEARCHTOKEN !== null) {
try {
@@ -451,6 +450,9 @@ export default {
this.ValidationPlay.startGame = false
}, 2000)
}
else {
this.amountCrystals = 5
}
})
this.getBalanceUser()
}
@@ -458,6 +460,9 @@ export default {
console.error('Error in GetData', e)
}
}
else {
this.amountCrystals = 5
}
},
mounted() {
eventBus.on('Updatebalance-saper', () => {