cancellable onSongEnd

This commit is contained in:
Ralty
2025-08-09 15:43:04 +07:00
parent d979b5c33d
commit 8aa2023057
+1 -1
View File
@@ -1691,8 +1691,8 @@ class PlayState extends MusicBeatState
*/
public function endSong():Void
{
if (gameAndCharsEvent("onSongEnd", new CancellableEvent()).cancelled) return;
endingSong = true;
gameAndCharsCall("onSongEnd");
canPause = false;
for (strumLine in strumLines.members) strumLine.vocals.stop();