Fix ACC wire light not appearing (#30453)
This commit is contained in:
parent
c32ec8c43a
commit
e073250aa5
|
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -10,3 +10,12 @@ public enum AccessWireActionKey : byte
|
||||||
Pulsed,
|
Pulsed,
|
||||||
PulseCancel
|
PulseCancel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Serializable, NetSerializable]
|
||||||
|
public enum LogWireActionKey : byte
|
||||||
|
{
|
||||||
|
Key,
|
||||||
|
Status,
|
||||||
|
Pulsed,
|
||||||
|
PulseCancel
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue