Cancel animations on game leave to prevent overlay flash on lobby
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a0bb28d5eb
commit
0bfe9d5f9f
@ -3057,6 +3057,9 @@ class GolfGame {
|
||||
}
|
||||
|
||||
showLobby() {
|
||||
if (window.cardAnimations) {
|
||||
window.cardAnimations.cancelAll();
|
||||
}
|
||||
this.showScreen(this.lobbyScreen);
|
||||
this.lobbyError.textContent = '';
|
||||
this.roomCode = null;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user