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:
parent
28c9882b17
commit
634d101f2c
@ -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]);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user