From e12bf0bf67615a09ceab18df5365e9da907364ab Mon Sep 17 00:00:00 2001 From: Lucky56 <55949451+Lucky-56@users.noreply.github.com> Date: Tue, 8 Jun 2021 13:04:06 +0200 Subject: [PATCH] copy-pasted too much --- source/PlayState.hx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/PlayState.hx b/source/PlayState.hx index 559071c..54afc54 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -2519,10 +2519,10 @@ class PlayState extends MusicBeatState trace('LOADING NEXT SONG'); // pre lowercasing the next story song name - var songLowercase = StringTools.replace(PlayState.storyPlaylist[0], " ", "-").toLowerCase(); - switch (songLowercase) { - case 'dad-battle': songLowercase = 'dadbattle'; - case 'philly-nice': songLowercase = 'philly'; + var nextSongLowercase = StringTools.replace(PlayState.storyPlaylist[0], " ", "-").toLowerCase(); + switch (nextSongLowercase) { + case 'dad-battle': nextSongLowercase = 'dadbattle'; + case 'philly-nice': nextSongLowercase = 'philly'; } trace(nextSongLowercase + difficulty);