mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
added if-block for check game user
This commit is contained in:
@@ -296,6 +296,16 @@ export default {
|
||||
GetUserData(AUTHTOKEN, SEARCHTOKEN)
|
||||
.then(response => {
|
||||
console.log(response)
|
||||
if (response) {
|
||||
this.gameStart = true
|
||||
this.offEventPointers = true
|
||||
|
||||
this.ValidationPlay.startGame = true
|
||||
|
||||
setTimeout(() => {
|
||||
this.ValidationPlay.startGame = false
|
||||
}, 2000)
|
||||
}
|
||||
})
|
||||
}
|
||||
catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user