Hookify Skeleton Unregisters (#6988)

Co-authored-by: serprex <159546+serprex@users.noreply.github.com>
This commit is contained in:
Jameriquiah
2026-08-08 17:16:10 -04:00
committed by GitHub
parent f2f4413bff
commit a4901abdc5
133 changed files with 572 additions and 401 deletions
+3 -1
View File
@@ -1270,7 +1270,9 @@ void Actor_Init(Actor* actor, PlayState* play) {
void Actor_Destroy(Actor* actor, PlayState* play) {
if (actor->destroy != NULL) {
actor->destroy(actor, play);
if (GameInteractor_ShouldActorDestroy(actor)) {
actor->destroy(actor, play);
}
actor->destroy = NULL;
} else {
// "No Actor class destruct [%s]"