diff --git a/Content.Server/Light/EntitySystems/PoweredLightSystem.cs b/Content.Server/Light/EntitySystems/PoweredLightSystem.cs index f6c6930e67..90f4d7e926 100644 --- a/Content.Server/Light/EntitySystems/PoweredLightSystem.cs +++ b/Content.Server/Light/EntitySystems/PoweredLightSystem.cs @@ -84,7 +84,7 @@ namespace Content.Server.Light.EntitySystems { switch (args.Port) { - case "toggle": + case "state": component.ToggleLight(); break; } diff --git a/Resources/Prototypes/Entities/Structures/Wallmounts/lighting.yml b/Resources/Prototypes/Entities/Structures/Wallmounts/lighting.yml index 359bff3354..b7e14672e1 100644 --- a/Resources/Prototypes/Entities/Structures/Wallmounts/lighting.yml +++ b/Resources/Prototypes/Entities/Structures/Wallmounts/lighting.yml @@ -29,7 +29,8 @@ offset: "0, -0.5" - type: SignalReceiver inputs: - - name: toggle + - name: state + type: bool - type: UserInterface interfaces: - key: enum.SignalReceiverUiKey.Key