From 0bfe9d5f9fec8e72dc46ff2cff15c66b60bf175b Mon Sep 17 00:00:00 2001 From: adlee-was-taken Date: Sun, 22 Feb 2026 21:06:11 -0500 Subject: [PATCH] Cancel animations on game leave to prevent overlay flash on lobby Co-Authored-By: Claude Opus 4.6 --- client/app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/app.js b/client/app.js index c32ff98..873b23d 100644 --- a/client/app.js +++ b/client/app.js @@ -3057,6 +3057,9 @@ class GolfGame { } showLobby() { + if (window.cardAnimations) { + window.cardAnimations.cancelAll(); + } this.showScreen(this.lobbyScreen); this.lobbyError.textContent = ''; this.roomCode = null;