]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix ACC wire light not appearing (#30453)
authorthemias <89101928+themias@users.noreply.github.com>
Tue, 30 Jul 2024 03:04:17 +0000 (23:04 -0400)
committerGitHub <noreply@github.com>
Tue, 30 Jul 2024 03:04:17 +0000 (23:04 -0400)
Content.Server/Access/LogWireAction.cs
Content.Shared/Access/SharedAccessWire.cs

index 1e97d5c9d67a6a1bbe5dac1a2cbad6c4449d9f68..837cf420d5eef0436b85c4f08276788bd7c08ab0 100644 (file)
@@ -25,7 +25,7 @@ public sealed partial class LogWireAction : ComponentWireAction<AccessReaderComp
         return comp.LoggingDisabled ? StatusLightState.Off : StatusLightState.On;
     }
 
-    public override object StatusKey => AccessWireActionKey.Status;
+    public override object StatusKey => LogWireActionKey.Status;
 
     public override void Initialize()
     {
index d5d1b48c7087997ee80e00ca001cef624fa544bc..a0bb316028ff42323e9d7c8abfeaaea33ed037e0 100644 (file)
@@ -10,3 +10,12 @@ public enum AccessWireActionKey : byte
     Pulsed,
     PulseCancel
 }
+
+[Serializable, NetSerializable]
+public enum LogWireActionKey : byte
+{
+    Key,
+    Status,
+    Pulsed,
+    PulseCancel
+}