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)
{
case "toggle":
case "state":
component.ToggleLight();
break;
}

View File

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