Fix : prevent join sound to play if game is already started
release-tag / release-image (push) Successful in 36s

This commit is contained in:
2024-05-17 18:57:40 +02:00
parent 16553dce10
commit 472f94257e
+1
View File
@@ -33,6 +33,7 @@ watch(
() => goStore.current_game?.players,
(newList, oldList) => {
if (!oldList || !newList) { return }
if (goStore.current_game?.started) { return }
if (newList?.length > oldList.length) {
playSound('/sounds/teleport.mp3')
}