Wire authManager into GolfGame instance for WebSocket token auth
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
62e3dc0395
commit
bae5d8da3c
@ -4458,6 +4458,7 @@ class GolfGame {
|
|||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
window.game = new GolfGame();
|
window.game = new GolfGame();
|
||||||
window.auth = new AuthManager(window.game);
|
window.auth = new AuthManager(window.game);
|
||||||
|
window.game.authManager = window.auth;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user