Sound effect... WHAAAT? - filename mismatch :/

This commit is contained in:
2025-08-02 01:08:11 -04:00
parent 1a0b855d99
commit 35d7c2243d
+1 -1
View File
@@ -241,7 +241,7 @@ function shakeTiles(tiles) {
} }
// The CELEBRATION SOUND EFFECT // The CELEBRATION SOUND EFFECT
function playCelebrationSound() { function playCelebrationSound() {
const audio = new Audio('celebration.mp3') const audio = new Audio('Celebration.mp3')
audio.volume = 0.5 // Adjust volume as needed audio.volume = 0.5 // Adjust volume as needed
audio.play().catch(error => { audio.play().catch(error => {
console.error('Error playing celebration sound:', error) console.error('Error playing celebration sound:', error)