1
0
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:
Sense101 2021-05-08 22:24:39 +01:00
parent 483866ad0b
commit b43e9f73c8

View File

@ -301,10 +301,6 @@ export class HUDBaseToolbar extends BaseHUDPart {
this.root.map.removeStaticEntity(entity);
entityManager.destroyEntity(entity);
}
const goalComp = entity.components.GoalAcceptor;
if (goalComp) {
goalComp.clear();
}
}
entityManager.processDestroyList();