mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-09-01 18:29:53 -04:00
Hookify Skeleton Unregisters (#6988)
Co-authored-by: serprex <159546+serprex@users.noreply.github.com>
This commit is contained in:
@@ -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]"
|
||||
|
||||
Reference in New Issue
Block a user