Merge pull request #71 from LoveEevee/view-new-pause

View: Fix missing sound effect
This commit is contained in:
Bui 2018-11-12 11:15:41 +00:00 committed by GitHub
commit ef37f127a4

View File

@ -1407,8 +1407,10 @@
} }
switch(pos){ switch(pos){
case 1: case 1:
assets.sounds["don"].play()
return this.controller.restartSong() return this.controller.restartSong()
case 2: case 2:
assets.sounds["don"].play()
return this.controller.songSelection() return this.controller.songSelection()
default: default:
return this.controller.togglePause() return this.controller.togglePause()