Fix pressing shift while held triggering escape (#24878)
* We meet again, my old friend. * Helper property
This commit is contained in:
@@ -13,6 +13,8 @@ public readonly struct MoveInputEvent
|
||||
public readonly InputMoverComponent Component;
|
||||
public readonly MoveButtons OldMovement;
|
||||
|
||||
public bool HasDirectionalMovement => (Component.HeldMoveButtons & MoveButtons.AnyDirection) != MoveButtons.None;
|
||||
|
||||
public MoveInputEvent(EntityUid entity, InputMoverComponent component, MoveButtons oldMovement)
|
||||
{
|
||||
Entity = entity;
|
||||
|
||||
Reference in New Issue
Block a user