Skip to content

Commit 03e903b

Browse files
committed
Update FreeplayState.hx
1 parent 17c2e7f commit 03e903b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/states/FreeplayState.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,7 @@ class FreeplayState extends MusicBeatState
695695
var locationId:Array<Int> = [];
696696
var isMissing:Bool = false;
697697
var color:FlxColor = 0xFFFFFFFF;
698+
var someLocationsNotMissing:Bool = false;
698699

699700
if (APEntryState.inArchipelagoMode) {
700701
songName = songs[i].songName;
@@ -704,7 +705,7 @@ class FreeplayState extends MusicBeatState
704705
color = isMissing ? FlxColor.RED : FlxColor.GREEN;
705706

706707

707-
var someLocationsNotMissing:Bool = isMissing && [for (ID in locationId) APEntryState.apGame.isLocationMissing(APEntryState.apGame.info().get_location_name(ID))].contains(false);
708+
someLocationsNotMissing = isMissing && [for (ID in locationId) APEntryState.apGame.isLocationMissing(APEntryState.apGame.info().get_location_name(ID))].contains(false);
708709

709710
for (daSongName in curUnlocked.keys())
710711
{

0 commit comments

Comments
 (0)