From 61c3bb16375c2eab5f2711d4ad8113ae9b32e9a0 Mon Sep 17 00:00:00 2001 From: LoveEevee Date: Mon, 9 Nov 2020 00:48:38 +0300 Subject: [PATCH] Fix calibration screen --- public/src/js/loadsong.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/js/loadsong.js b/public/src/js/loadsong.js index 66b9080..bcf462f 100644 --- a/public/src/js/loadsong.js +++ b/public/src/js/loadsong.js @@ -126,7 +126,7 @@ class LoadSong{ }), songObj.music.url) } var chart = songObj.chart - if(chart.separateDiff){ + if(chart && chart.separateDiff){ var chartDiff = this.selectedSong.difficulty chart = chart[chartDiff] }