Sound effect... WHAAAT? - filename mismatch :/
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user