debug unlock weeks

This commit is contained in:
Kade M
2021-07-02 01:14:52 -07:00
parent 8da131a9ed
commit 30fb4f665b
2 changed files with 24 additions and 1 deletions

View File

@ -78,7 +78,14 @@ class StoryMenuState extends MusicBeatState
function unlockWeeks():Array<Bool>
{
var weeks:Array<Bool> = [true];
var weeks:Array<Bool> = [];
#if debug
for(i in 0...weekNames.length)
weeks.push(true);
return weeks;
#end
weeks.push(true);
for(i in 0...FlxG.save.data.weekUnlocked)
{