Hotfix light switches not working

This commit is contained in:
Kara D
2021-10-14 21:16:11 -07:00
parent e730cdd6d4
commit ca90025005
2 changed files with 3 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ namespace Content.Server.Light.EntitySystems
{ {
switch (args.Port) switch (args.Port)
{ {
case "toggle": case "state":
component.ToggleLight(); component.ToggleLight();
break; break;
} }

View File

@@ -29,7 +29,8 @@
offset: "0, -0.5" offset: "0, -0.5"
- type: SignalReceiver - type: SignalReceiver
inputs: inputs:
- name: toggle - name: state
type: bool
- type: UserInterface - type: UserInterface
interfaces: interfaces:
- key: enum.SignalReceiverUiKey.Key - key: enum.SignalReceiverUiKey.Key