Play pair chime sound for all players including local player

firePairCelebration was only doing the visual animation but not playing
the pair sound. The sound was only played during score tallying.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
adlee-was-taken 2026-02-22 16:31:00 -05:00
parent 28c9882b17
commit 634d101f2c

View File

@ -2602,6 +2602,7 @@ class GolfGame {
const elements = this.getCardElements(playerId, pos1, pos2);
if (elements.length < 2) return;
this.playSound('pair');
if (window.cardAnimations) {
window.cardAnimations.celebratePair(elements[0], elements[1]);
}