File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 + " )" : " " ;
You can’t perform that action at this time.
0 commit comments