Fix black loading screens

This commit is contained in:
LoveEevee 2019-01-01 16:35:12 +03:00
parent f9bb8cabb0
commit f535428125
2 changed files with 2 additions and 2 deletions

View File

@ -130,6 +130,7 @@ class Controller{
if(!fadeIn){
this.clean()
}
loader.screen.classList.remove("view")
new SongSelect(false, fadeIn, this.touchEnabled)
}
restartSong(){

View File

@ -752,7 +752,7 @@ class Scoresheet{
if(elapsed >= 1000){
this.clean()
this.controller.songSelection(true, false, p2.session ? this.touchEnabled : this.state.pointerLocked)
this.controller.songSelection(true)
}
}
@ -811,7 +811,6 @@ class Scoresheet{
if(p2.session){
pageEvents.remove(p2, "message")
}
loader.screen.classList.remove("view")
if(!this.multiplayer){
delete this.tetsuoHana
}