mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
removed clearing goal acceptors as it isn't needed because of validation
This commit is contained in:
parent
483866ad0b
commit
b43e9f73c8
@ -301,10 +301,6 @@ export class HUDBaseToolbar extends BaseHUDPart {
|
|||||||
this.root.map.removeStaticEntity(entity);
|
this.root.map.removeStaticEntity(entity);
|
||||||
entityManager.destroyEntity(entity);
|
entityManager.destroyEntity(entity);
|
||||||
}
|
}
|
||||||
const goalComp = entity.components.GoalAcceptor;
|
|
||||||
if (goalComp) {
|
|
||||||
goalComp.clear();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
entityManager.processDestroyList();
|
entityManager.processDestroyList();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user