Change inactive tab notification sound

This commit is contained in:
LoveEevee 2018-11-13 12:50:52 +03:00
parent 25d705ffcf
commit 32a64a14eb
2 changed files with 3 additions and 4 deletions

View File

@ -65,7 +65,8 @@ var assets = {
"title.ogg",
"pause.wav",
"cancel.wav",
"results.ogg"
"results.ogg",
"sanka.wav"
],
"audioSfxLR": [
"note_don.ogg",

View File

@ -124,9 +124,7 @@ class loadSong{
p2.send("gamestart")
}else{
if(!repeat){
for(var i = 0; i < 3; i++){
assets.sounds["note_don"].play(i * 0.2)
}
assets.sounds["sanka"].play()
}
setTimeout(() => {
this.startMultiplayer(true)