diff --git a/CHANGELOG.md b/CHANGELOG.md index 94888a81d..97b677da3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Story mode scores not properly resetting, leading to VERY inflated highscores on the leaderboards. This also requires me to clear the scores that are on the leaderboard right now, sorry! - Difficulty on storymode and in freeplay scores +- Hard mode difficulty on campaign levels have been fixed ## [0.2.1.1] - 2020-11-06 ### Fixed diff --git a/source/PlayState.hx b/source/PlayState.hx index 5ba6e82cb..b5a3ce503 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -882,6 +882,9 @@ class PlayState extends MusicBeatState if (storyDifficulty == 2) difficulty == '-hard'; + trace('LOADING NEXT SONG'); + trace(PlayState.storyPlaylist[0].toLowerCase() + difficulty); + PlayState.SONG = Song.loadFromJson(PlayState.storyPlaylist[0].toLowerCase() + difficulty, PlayState.storyPlaylist[0]); FlxG.switchState(new PlayState()); } diff --git a/source/TitleState.hx b/source/TitleState.hx index e908828f8..8aa74a16d 100644 --- a/source/TitleState.hx +++ b/source/TitleState.hx @@ -13,6 +13,8 @@ import flixel.group.FlxGroup; import flixel.input.gamepad.FlxGamepad; import flixel.math.FlxPoint; import flixel.math.FlxRect; +import flixel.system.FlxSound; +import flixel.system.ui.FlxSoundTray; import flixel.text.FlxText; import flixel.tweens.FlxEase; import flixel.tweens.FlxTween;