From a50807776647006dc2c3bcc9fe74a075b0ac876a Mon Sep 17 00:00:00 2001 From: Sense101 <67970865+Sense101@users.noreply.github.com> Date: Fri, 25 Jun 2021 15:22:36 +0100 Subject: [PATCH] actually save the changes --- src/js/game/hud/parts/puzzle_play_settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/game/hud/parts/puzzle_play_settings.js b/src/js/game/hud/parts/puzzle_play_settings.js index 654c3ea1..73a24d3f 100644 --- a/src/js/game/hud/parts/puzzle_play_settings.js +++ b/src/js/game/hud/parts/puzzle_play_settings.js @@ -38,7 +38,7 @@ export class HUDPuzzlePlaySettings extends BaseHUDPart { const staticComp = entity.components.StaticMapEntity; const goalComp = entity.components.GoalAcceptor; - if (!staticComp.getMetaBuilding().getIsPuzzleRemovable(this.root)) { + if (!staticComp.getMetaBuilding().getIsRemovable(this.root)) { if (goalComp) { goalComp.clear(); }