Fix variable scope: Ensure global access to game and multiplayer client

This commit is contained in:
2025-12-13 20:34:07 +11:00
parent dbc3f40019
commit b57611f0c4
3 changed files with 22 additions and 9 deletions

View File

@@ -507,4 +507,5 @@ class MultiplayerClient {
}
// Initialize multiplayer client (will be used by game.js)
let multiplayerClient = null;
// Initialize multiplayer client (will be used by game.js)
window.multiplayerClient = null;