added if-block for check game user

This commit is contained in:
Kostya
2024-01-23 22:11:26 +03:00
parent 6f69a21c5a
commit 07fe48fd1f

View File

@@ -296,6 +296,16 @@ export default {
GetUserData(AUTHTOKEN, SEARCHTOKEN) GetUserData(AUTHTOKEN, SEARCHTOKEN)
.then(response => { .then(response => {
console.log(response) console.log(response)
if (response) {
this.gameStart = true
this.offEventPointers = true
this.ValidationPlay.startGame = true
setTimeout(() => {
this.ValidationPlay.startGame = false
}, 2000)
}
}) })
} }
catch (e) { catch (e) {