diff --git a/src/js/game/hud/parts/base_toolbar.js b/src/js/game/hud/parts/base_toolbar.js index 2c3f2bf9..4abace68 100644 --- a/src/js/game/hud/parts/base_toolbar.js +++ b/src/js/game/hud/parts/base_toolbar.js @@ -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();