mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-21 10:51:18 +02:00
Zero out the entity's ObjectID in ESSEntityWorldSpawner3DSingle when exiting tree.
This commit is contained in:
parent
48d68c0896
commit
c59cf944c2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user