Removed audio playing on not buzzered
This commit is contained in:
parent
58f8fedaec
commit
6a0d83454a
|
|
@ -211,10 +211,6 @@ function playerBuzzered( data ){
|
||||||
gameStore.acceptAnswers = false;
|
gameStore.acceptAnswers = false;
|
||||||
if( gameStore.playerId === data.payload.playerId ){
|
if( gameStore.playerId === data.payload.playerId ){
|
||||||
buzzBuzz.play();
|
buzzBuzz.play();
|
||||||
} else {
|
|
||||||
if( !gameStore.isHost ){
|
|
||||||
buzzNoBuzz.play();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
let playerIndex = gameStore.players.findIndex( playerEntry => playerEntry._id === data.payload.playerId );
|
let playerIndex = gameStore.players.findIndex( playerEntry => playerEntry._id === data.payload.playerId );
|
||||||
if( playerIndex !== -1 ){
|
if( playerIndex !== -1 ){
|
||||||
|
|
@ -401,10 +397,8 @@ onBeforeRouteLeave((to, from) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
//TODO List:
|
//TODO List:
|
||||||
// -Buzzer sound
|
|
||||||
// -Profile Pic
|
// -Profile Pic
|
||||||
// -More Question Types
|
// -More Question Types
|
||||||
// -Players selecting BoardEntry
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue