fix 2P breakage

This commit is contained in:
Bui 2019-01-02 04:26:24 +00:00
parent 2e6124fbac
commit 99463a7bf0

View File

@ -1704,11 +1704,12 @@
} }
if(!this.multiplayer){ if(!this.multiplayer){
pageEvents.remove(this.canvas, "mousedown") pageEvents.remove(this.canvas, "mousedown")
this.songBg.parentNode.removeChild(this.songBg)
this.songStage.parentNode.removeChild(this.songStage)
} }
pageEvents.mouseRemove(this) pageEvents.mouseRemove(this)
this.donBg.parentNode.removeChild(this.donBg) this.donBg.parentNode.removeChild(this.donBg)
this.songBg.parentNode.removeChild(this.songBg)
this.songStage.parentNode.removeChild(this.songStage)
delete this.donBg delete this.donBg
delete this.songBg delete this.songBg
delete this.songStage delete this.songStage