Zero out the entity's ObjectID in ESSEntityWorldSpawner3DSingle when exiting tree.

This commit is contained in:
Relintai 2025-04-14 14:40:27 +02:00
parent 48d68c0896
commit c59cf944c2

View File

@ -155,6 +155,8 @@ void ESSEntityWorldSpawner3DSingle::_notification(int p_what) {
if (ent) {
ent->sets_spawner_object_id(ObjectID());
}
_entity = ObjectID();
}
break;
case NOTIFICATION_INTERNAL_PROCESS: