Feat : add game join sound
release-tag / release-image (push) Successful in 33s

This commit is contained in:
2024-05-17 17:55:23 +02:00
parent 07bacfa8e3
commit 1ca05734e3
2 changed files with 12 additions and 0 deletions
+9
View File
@@ -29,6 +29,15 @@ watch(
} }
}) })
watch(
() => goStore.current_game?.players,
(newList, oldList) => {
if (!oldList || !newList) { return }
if (newList?.length > oldList.length) {
playSound('/sounds/teleport.mp3')
}
})
function showLoserScreen() { function showLoserScreen() {
// playSound('/sounds/ding.mp3') // playSound('/sounds/ding.mp3')
} }
Binary file not shown.