1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-09-12 05:07:06 +00:00

seen video save data shit

This commit is contained in:
Cameron Taylor 2021-04-18 03:47:48 -04:00
parent b501d620b8
commit ac8a8aef42
2 changed files with 8 additions and 0 deletions

View file

@ -109,6 +109,11 @@ class TitleState extends MusicBeatState
StoryMenuState.weekUnlocked[0] = true;
}
if (FlxG.save.data.seenVideo != null)
{
VideoState.seenVideo = FlxG.save.data.seenVideo;
}
#if FREEPLAY
FlxG.switchState(new FreeplayState());
#elseif ANIMATE

View file

@ -23,6 +23,9 @@ class VideoState extends MusicBeatState
seenVideo = true;
FlxG.save.data.seenVideo = true;
FlxG.save.flush();
if (FlxG.sound.music != null)
FlxG.sound.music.stop();