mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 10:05:41 -05:00
Fixed a bug where assets from other weeks wouldn't load
This commit is contained in:
parent
09318c258b
commit
fd5c546005
1 changed files with 3 additions and 1 deletions
|
@ -112,8 +112,8 @@ class StoryMenuState extends MusicBeatState
|
||||||
{
|
{
|
||||||
FlxG.sound.playMusic(Paths.music('freakyMenu'));
|
FlxG.sound.playMusic(Paths.music('freakyMenu'));
|
||||||
FlxG.sound.music.fadeIn(4, 0, 0.7);
|
FlxG.sound.music.fadeIn(4, 0, 0.7);
|
||||||
Conductor.forceBPM(Constants.FREAKY_MENU_BPM);
|
|
||||||
}
|
}
|
||||||
|
Conductor.forceBPM(Constants.FREAKY_MENU_BPM);
|
||||||
|
|
||||||
if (stickerSubState != null)
|
if (stickerSubState != null)
|
||||||
{
|
{
|
||||||
|
@ -480,6 +480,8 @@ class StoryMenuState extends MusicBeatState
|
||||||
PlayState.currentSong = SongLoad.loadFromJson(PlayState.storyPlaylist[0].toLowerCase(), PlayState.storyPlaylist[0].toLowerCase());
|
PlayState.currentSong = SongLoad.loadFromJson(PlayState.storyPlaylist[0].toLowerCase(), PlayState.storyPlaylist[0].toLowerCase());
|
||||||
PlayState.currentSong_NEW = SongDataParser.fetchSong(PlayState.storyPlaylist[0].toLowerCase());
|
PlayState.currentSong_NEW = SongDataParser.fetchSong(PlayState.storyPlaylist[0].toLowerCase());
|
||||||
|
|
||||||
|
Paths.setCurrentLevel(currentLevel.id);
|
||||||
|
|
||||||
// TODO: Fix this.
|
// TODO: Fix this.
|
||||||
PlayState.storyWeek = 0;
|
PlayState.storyWeek = 0;
|
||||||
PlayState.campaignScore = 0;
|
PlayState.campaignScore = 0;
|
||||||
|
|
Loading…
Reference in a new issue