Fix ACC wire light not appearing (#30453)

This commit is contained in:
themias
2024-07-29 23:04:17 -04:00
committed by GitHub
parent 16ec6443f6
commit 92210ff51b
2 changed files with 10 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ public sealed partial class LogWireAction : ComponentWireAction<AccessReaderComp
return comp.LoggingDisabled ? StatusLightState.Off : StatusLightState.On; return comp.LoggingDisabled ? StatusLightState.Off : StatusLightState.On;
} }
public override object StatusKey => AccessWireActionKey.Status; public override object StatusKey => LogWireActionKey.Status;
public override void Initialize() public override void Initialize()
{ {

View File

@@ -10,3 +10,12 @@ public enum AccessWireActionKey : byte
Pulsed, Pulsed,
PulseCancel PulseCancel
} }
[Serializable, NetSerializable]
public enum LogWireActionKey : byte
{
Key,
Status,
Pulsed,
PulseCancel
}