From 904ab834b763af001174d262bc9acda999e2c9ed Mon Sep 17 00:00:00 2001 From: Kostya Date: Mon, 12 Feb 2024 00:40:39 +0300 Subject: [PATCH] fixed bug with crystal saper --- luckydiamond/src/pages/games-pages/SapergamePage.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/luckydiamond/src/pages/games-pages/SapergamePage.vue b/luckydiamond/src/pages/games-pages/SapergamePage.vue index 643ccb1..2a2b993 100644 --- a/luckydiamond/src/pages/games-pages/SapergamePage.vue +++ b/luckydiamond/src/pages/games-pages/SapergamePage.vue @@ -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', () => {