mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
forgot a deletion
This commit is contained in:
parent
99b5729776
commit
5ee113f4dd
@ -227,6 +227,7 @@ export class EntityManager extends BasicSerializableObject {
|
||||
|
||||
// Remove from entities list
|
||||
this.entities.delete(entity);
|
||||
this.entitiesByUid.delete(entity.uid);
|
||||
|
||||
// Remove from componentToEntity list
|
||||
this.unregisterEntityComponents(entity);
|
||||
|
Loading…
Reference in New Issue
Block a user