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){ if(!fadeIn){
this.clean() this.clean()
} }
loader.screen.classList.remove("view")
new SongSelect(false, fadeIn, this.touchEnabled) new SongSelect(false, fadeIn, this.touchEnabled)
} }
restartSong(){ restartSong(){

View File

@ -752,7 +752,7 @@ class Scoresheet{
if(elapsed >= 1000){ if(elapsed >= 1000){
this.clean() 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){ if(p2.session){
pageEvents.remove(p2, "message") pageEvents.remove(p2, "message")
} }
loader.screen.classList.remove("view")
if(!this.multiplayer){ if(!this.multiplayer){
delete this.tetsuoHana delete this.tetsuoHana
} }