fix: arealoader queues area for deletion in PREDELETE notification
This commit is contained in:
parent
f9fbdde6f3
commit
f97dba80c7
1 changed files with 3 additions and 0 deletions
|
|
@ -44,5 +44,8 @@ void AreaLoader::_notification(int what) {
|
|||
connect("body_exited", callable_mp(this, &self_type::body_exited));
|
||||
}
|
||||
return;
|
||||
case NOTIFICATION_PREDELETE:
|
||||
this->area->queue_free();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue