bye onDestroy

from lunar suggestion since it was confusing as fuckkk😭
This commit is contained in:
⍚~Nex
2024-02-03 03:37:48 +01:00
parent 693ab305bb
commit cc23e4c24f
11 changed files with 10 additions and 20 deletions
@@ -95,7 +95,8 @@ class ScriptPack extends Script {
for(e in scripts) e.setParent(parent);
}
public override function onDestroy() {
public override function destroy() {
super.destroy();
for(e in scripts) e.destroy();
}