1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

Respect "offerHints" in puzzle editor

This commit is contained in:
Даниїл Григор'єв 2021-07-25 15:21:11 +03:00
parent a1c6a99df0
commit 33f862a5e7
No known key found for this signature in database
GPG Key ID: B890DF16341D8C1D

View File

@ -55,7 +55,10 @@ export class PuzzleEditGameMode extends PuzzleGameMode {
MetaTransistorBuilding,
];
this.additionalHudParts.puzzleEditorControls = HUDPuzzleEditorControls;
if (this.root.app.settings.getAllSettings().offerHints) {
this.additionalHudParts.puzzleEditorControls = HUDPuzzleEditorControls;
}
this.additionalHudParts.puzzleEditorReview = HUDPuzzleEditorReview;
this.additionalHudParts.puzzleEditorSettings = HUDPuzzleEditorSettings;
}