From 7c0104fe5b59b299b49071b63531b0f1701d428b Mon Sep 17 00:00:00 2001 From: KatieFrogs <23621460+KatieFrogs@users.noreply.github.com> Date: Fri, 18 Feb 2022 02:06:00 +0300 Subject: [PATCH] Fix black screen --- public/src/js/controller.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/src/js/controller.js b/public/src/js/controller.js index e1b7e81..6625383 100644 --- a/public/src/js/controller.js +++ b/public/src/js/controller.js @@ -231,10 +231,10 @@ class Controller{ this.view.displayScore(score, notPlayed, bigNote) } songSelection(fadeIn, showWarning){ - if(this.cleaned){ - return - } if(!fadeIn){ + if(this.cleaned){ + return + } this.clean() } if(this.calibrationMode){