Fix an issue where the game would crash when loading a song in Freeplay

This commit is contained in:
EliteMasterEric 2023-10-15 01:06:06 -04:00
parent ccefa972a0
commit 88f9584fd9
1 changed files with 1 additions and 0 deletions

View File

@ -899,6 +899,7 @@ class FreeplayState extends MusicBeatSubState
{
for (song in songs)
{
if (song == null) continue;
if (song.songName != actualSongTho)
{
trace('trying to remove: ' + song.songName);