mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
add timer for updating balance on crash
This commit is contained in:
@@ -145,7 +145,9 @@ export default {
|
|||||||
|
|
||||||
if (this.crashObject.Status === 'GameEnd' && this.startGame === true && this.crashObject.Players.some(player => player.UserName === GetCookie('SpUserName'))) {
|
if (this.crashObject.Status === 'GameEnd' && this.startGame === true && this.crashObject.Players.some(player => player.UserName === GetCookie('SpUserName'))) {
|
||||||
this.startGame = false
|
this.startGame = false
|
||||||
this.updateUserMoney()
|
setTimeout(() => {
|
||||||
|
this.updateUserMoney();
|
||||||
|
}, 3000);
|
||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
this.crashObject.Players.some(player =>
|
this.crashObject.Players.some(player =>
|
||||||
|
|||||||
Reference in New Issue
Block a user