mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-02-12 19:09:21 +00:00
actually save the changes
This commit is contained in:
parent
e6c54d61bc
commit
a508077766
@ -38,7 +38,7 @@ export class HUDPuzzlePlaySettings extends BaseHUDPart {
|
|||||||
const staticComp = entity.components.StaticMapEntity;
|
const staticComp = entity.components.StaticMapEntity;
|
||||||
const goalComp = entity.components.GoalAcceptor;
|
const goalComp = entity.components.GoalAcceptor;
|
||||||
|
|
||||||
if (!staticComp.getMetaBuilding().getIsPuzzleRemovable(this.root)) {
|
if (!staticComp.getMetaBuilding().getIsRemovable(this.root)) {
|
||||||
if (goalComp) {
|
if (goalComp) {
|
||||||
goalComp.clear();
|
goalComp.clear();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user