Skip to content

Commit 9f0dcba

Browse files
committed
Victory Song Fix...?
1 parent 86e8eb8 commit 9f0dcba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/archipelago/APPlayState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2036,7 +2036,7 @@ class APPlayState extends PlayState {
20362036

20372037
super.endSong();
20382038
paused = true;
2039-
states.FreeplayState.callVictory = PlayState.SONG.song == APEntryState.victorySong;
2039+
states.FreeplayState.callVictory = states.FreeplayState.isVictorySong(PlayState.SONG.song, currentMod)
20402040
openSubState(new substates.RankingSubstate());
20412041
return true; //why does endsong need this?????
20422042
}

source/states/FreeplayState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ class FreeplayState extends MusicBeatState
710710
}
711711
}
712712

713-
function isVictorySong(songName:String, modName:String):Bool {
713+
public static function isVictorySong(songName:String, modName:String):Bool {
714714
if (modName == null) modName = "";
715715
var locationId = songName;
716716
locationId += (modName.trim() != "") ? " (" + modName + ")" : "";

0 commit comments

Comments
 (0)