Make radio jammer block suit sensors (#26046)
* Make radio jammer block suit sensors * Fix stupid Use CancellableEventArgs instead of doing what the hell I was doing before. * Address Reviews. Change the event from a CancellableEntityEventArgs to a ByRefEvent.
This commit is contained in:
@@ -87,3 +87,9 @@ public sealed partial class SuitSensorComponent : Component
|
||||
[DataField, ViewVariables]
|
||||
public bool PreviousControlsLocked = false;
|
||||
}
|
||||
|
||||
[ByRefEvent]
|
||||
public record struct SuitSensorsSendAttemptEvent
|
||||
{
|
||||
public bool Cancelled;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user