mirror of
https://github.com/Such-Software/wownerogue.git
synced 2026-11-12 02:03:53 +01:00
add backup scripts and improve docs and .env.example
This commit is contained in:
@@ -222,9 +222,10 @@ class ConnectionHandler {
|
||||
});
|
||||
}
|
||||
|
||||
// Credits convenience push
|
||||
// Credits convenience push (include creditsPerGame for games remaining calculation)
|
||||
this.io.to(socket.id).emit('credits_update', {
|
||||
balance: sessionInfo.user.credits || 0
|
||||
balance: sessionInfo.user.credits || 0,
|
||||
creditsPerGame: this.gameModeManager?.creditsPerGameCost || 1
|
||||
});
|
||||
} else {
|
||||
// fallback legacy welcome
|
||||
|
||||
Reference in New Issue
Block a user