Skip to content

Commit

Permalink
fix adding constant signal editing to puzzle editor (#1399)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmeraldBlock authored Mar 5, 2022
1 parent ced9e18 commit 4e5e5c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/game/modes/puzzle_edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { MetaTransistorBuilding } from "../buildings/transistor";
import { HUDPuzzleEditorControls } from "../hud/parts/puzzle_editor_controls";
import { HUDPuzzleEditorReview } from "../hud/parts/puzzle_editor_review";
import { HUDPuzzleEditorSettings } from "../hud/parts/puzzle_editor_settings";
import { HUDConstantSignalEdit } from "../hud/parts/constant_signal_edit";

export class PuzzleEditGameMode extends PuzzleGameMode {
static getId() {
Expand Down Expand Up @@ -58,6 +59,7 @@ export class PuzzleEditGameMode extends PuzzleGameMode {
this.additionalHudParts.puzzleEditorControls = HUDPuzzleEditorControls;
this.additionalHudParts.puzzleEditorReview = HUDPuzzleEditorReview;
this.additionalHudParts.puzzleEditorSettings = HUDPuzzleEditorSettings;
this.additionalHudParts.constantSignalEdit = HUDConstantSignalEdit;
}

getIsEditor() {
Expand Down

0 comments on commit 4e5e5c8

Please sign in to comment.