mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-07 01:54:10 +00:00
fix adding constant signal editing to puzzle editor (#1399)
This commit is contained in:
parent
ced9e186f5
commit
4e5e5c8ef7
@ -22,6 +22,7 @@ import { MetaTransistorBuilding } from "../buildings/transistor";
|
|||||||
import { HUDPuzzleEditorControls } from "../hud/parts/puzzle_editor_controls";
|
import { HUDPuzzleEditorControls } from "../hud/parts/puzzle_editor_controls";
|
||||||
import { HUDPuzzleEditorReview } from "../hud/parts/puzzle_editor_review";
|
import { HUDPuzzleEditorReview } from "../hud/parts/puzzle_editor_review";
|
||||||
import { HUDPuzzleEditorSettings } from "../hud/parts/puzzle_editor_settings";
|
import { HUDPuzzleEditorSettings } from "../hud/parts/puzzle_editor_settings";
|
||||||
|
import { HUDConstantSignalEdit } from "../hud/parts/constant_signal_edit";
|
||||||
|
|
||||||
export class PuzzleEditGameMode extends PuzzleGameMode {
|
export class PuzzleEditGameMode extends PuzzleGameMode {
|
||||||
static getId() {
|
static getId() {
|
||||||
@ -58,6 +59,7 @@ export class PuzzleEditGameMode extends PuzzleGameMode {
|
|||||||
this.additionalHudParts.puzzleEditorControls = HUDPuzzleEditorControls;
|
this.additionalHudParts.puzzleEditorControls = HUDPuzzleEditorControls;
|
||||||
this.additionalHudParts.puzzleEditorReview = HUDPuzzleEditorReview;
|
this.additionalHudParts.puzzleEditorReview = HUDPuzzleEditorReview;
|
||||||
this.additionalHudParts.puzzleEditorSettings = HUDPuzzleEditorSettings;
|
this.additionalHudParts.puzzleEditorSettings = HUDPuzzleEditorSettings;
|
||||||
|
this.additionalHudParts.constantSignalEdit = HUDConstantSignalEdit;
|
||||||
}
|
}
|
||||||
|
|
||||||
getIsEditor() {
|
getIsEditor() {
|
||||||
|
Loading…
Reference in New Issue
Block a user