Skip to content

Commit 4e5e5c8

Browse files
authored
fix adding constant signal editing to puzzle editor (#1399)
1 parent ced9e18 commit 4e5e5c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/js/game/modes/puzzle_edit.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { MetaTransistorBuilding } from "../buildings/transistor";
2222
import { HUDPuzzleEditorControls } from "../hud/parts/puzzle_editor_controls";
2323
import { HUDPuzzleEditorReview } from "../hud/parts/puzzle_editor_review";
2424
import { HUDPuzzleEditorSettings } from "../hud/parts/puzzle_editor_settings";
25+
import { HUDConstantSignalEdit } from "../hud/parts/constant_signal_edit";
2526

2627
export class PuzzleEditGameMode extends PuzzleGameMode {
2728
static getId() {
@@ -58,6 +59,7 @@ export class PuzzleEditGameMode extends PuzzleGameMode {
5859
this.additionalHudParts.puzzleEditorControls = HUDPuzzleEditorControls;
5960
this.additionalHudParts.puzzleEditorReview = HUDPuzzleEditorReview;
6061
this.additionalHudParts.puzzleEditorSettings = HUDPuzzleEditorSettings;
62+
this.additionalHudParts.constantSignalEdit = HUDConstantSignalEdit;
6163
}
6264

6365
getIsEditor() {

0 commit comments

Comments
 (0)