Skip to content

Commit 93d828a

Browse files
committed
Update APGameState.hx
1 parent 4e12d42 commit 93d828a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/archipelago/APGameState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ class APGameState
479479
}
480480

481481
public function checkGoal(songName:String, modName:String):Bool
482-
{
482+
{ modName = (modName != null && modName != "") ? modName.trim() : "";
483483
var info = info();
484484
var locations = locationData(songName, modName).concat(noteData(songName, modName));
485485
for (location in locations)

0 commit comments

Comments
 (0)