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", "title.ogg",
"pause.wav", "pause.wav",
"cancel.wav", "cancel.wav",
"results.ogg" "results.ogg",
"sanka.wav"
], ],
"audioSfxLR": [ "audioSfxLR": [
"note_don.ogg", "note_don.ogg",

View File

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