Skip to content

Commit

Permalink
Revert "fix crashes"
Browse files Browse the repository at this point in the history
This reverts commit 8c9ad6d.
  • Loading branch information
EyeDaleHim committed Dec 4, 2023
1 parent 12a8197 commit 17a88cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions source/backend/LoadingManager.hx
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,6 @@ class LoadingManager extends MusicBeatState
{
var stageName:String = 'stage';

trace(Song.currentSong.song.toLowerCase().replace(' ', '-'));

if (Song.currentSong != null)
{
stageName = switch (Song.currentSong.song.toLowerCase().replace(' ', '-'))
Expand All @@ -212,8 +210,6 @@ class LoadingManager extends MusicBeatState
'dark-school';
case 'ugh' | 'guns' | 'stress':
'warzone';
case 'lo-fight':
'backalley';
default:
'stage-error';
};
Expand Down
2 changes: 1 addition & 1 deletion source/states/menus/FreeplayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class FreeplayState extends MusicBeatState

FlxG.sound.music.fadeOut(0.5, 0.0);

Song.loadSong(songs[curSelected].name.formatToReadable(), 'hard');
Song.loadSong(songs[curSelected].name.formatToReadable(), availableDifficulties[curDifficulty]);

LoadingManager.startGame();
}
Expand Down

0 comments on commit 17a88cd

Please sign in to comment.