Sound effect... WHAAAT? - filename mismatch :/
This commit is contained in:
parent
1a0b855d99
commit
35d7c2243d
@ -241,7 +241,7 @@ function shakeTiles(tiles) {
|
||||
}
|
||||
// The CELEBRATION SOUND EFFECT
|
||||
function playCelebrationSound() {
|
||||
const audio = new Audio('celebration.mp3')
|
||||
const audio = new Audio('Celebration.mp3')
|
||||
audio.volume = 0.5 // Adjust volume as needed
|
||||
audio.play().catch(error => {
|
||||
console.error('Error playing celebration sound:', error)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user