From 07fe48fd1f2fcb0edcf32db0eadb6c8ed04978af Mon Sep 17 00:00:00 2001 From: Kostya Date: Tue, 23 Jan 2024 22:11:26 +0300 Subject: [PATCH] added if-block for check game user --- luckydiamond/src/pages/games-pages/SapergamePage.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/luckydiamond/src/pages/games-pages/SapergamePage.vue b/luckydiamond/src/pages/games-pages/SapergamePage.vue index 27b4b66..58716f8 100644 --- a/luckydiamond/src/pages/games-pages/SapergamePage.vue +++ b/luckydiamond/src/pages/games-pages/SapergamePage.vue @@ -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) {