Intro done right

This commit is contained in:
Lasercar
2025-06-19 22:18:26 -05:00
committed by Abnormal
parent 9804111583
commit 3d3e2bd378
+11 -9
View File
@@ -746,15 +746,6 @@ class FreeplayState extends MusicBeatSubState
#end
};
if (dj != null)
{
dj.onIntroDone.add(onDJIntroDone);
}
else
{
onDJIntroDone();
}
allDifficulties = SongRegistry.instance.listAllDifficulties(currentCharacterId);
// Generates song list with the starter params (who our current character is, last remembered difficulty, etc.)
@@ -797,6 +788,17 @@ class FreeplayState extends MusicBeatSubState
enterFromCharSel();
onDJIntroDone();
}
else
{
if (dj != null)
{
dj.onIntroDone.add(onDJIntroDone);
}
else
{
onDJIntroDone();
}
}
}
override public function dispatchEvent(event:ScriptEvent)