We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93d828a commit ae917bcCopy full SHA for ae917bc
source/states/FreeplayState.hx
@@ -145,8 +145,8 @@ class FreeplayState extends MusicBeatState
145
146
// Check if the Victory Song is cleared.
147
{
148
- var victorySong = APEntryState.apGame.getSongAndMod(APEntryState.victorySong);
149
- if (APEntryState.apGame.checkGoal(victorySong.song, victorySong.mod))
+ var victorySong = APEntryState.apGame?.getSongAndMod(APEntryState.victorySong);
+ if (APEntryState.apGame?.checkGoal(victorySong.song, victorySong.mod))
150
trace("Victory song is cleared!");
151
}
152
0 commit comments