Fixed a bug where notes (NoteGroup) were not destroyed when StrumLine was destroyed. (#519)

* Fixed a bug where notes (NoteGroup) were not destroyed when StrumLine was destroyed.

* using destroyutil

---------

Co-authored-by: ⍚~Nex <87421482+NexIsDumb@users.noreply.github.com>
This commit is contained in:
soy*
2025-01-04 21:23:34 +01:00
committed by GitHub
co-authored by ⍚~Nex
parent 300f38d290
commit 1f224bef22
+1
View File
@@ -292,6 +292,7 @@ class StrumLine extends FlxTypedGroup<Strum> {
super.destroy();
if(startingPos != null)
startingPos.put();
notes = FlxDestroyUtil.destroy(notes);
}
/**