diff --git a/Content.Server/White/Halt/HaltSystem.cs b/Content.Server/White/Halt/HaltSystem.cs index 1aae23c1ef..5b1f13fb27 100644 --- a/Content.Server/White/Halt/HaltSystem.cs +++ b/Content.Server/White/Halt/HaltSystem.cs @@ -3,6 +3,8 @@ using Content.Shared.Actions; using Content.Server.Chat.Systems; using Robust.Shared.Utility; using Content.Shared.Chat; +using Content.Shared.Humanoid; +using Content.Shared.Inventory; using Content.Shared.White.Other; using Robust.Shared.Audio.Systems; using Robust.Shared.Prototypes; @@ -26,7 +28,10 @@ namespace Content.Server.White.Halt private void OnGetEquipped(EntityUid uid, HaltComponent component, GetItemActionsEvent args) { - if (args.InHands) + if (args.SlotFlags != SlotFlags.MASK) + return; + + if (!HasComp(args.User)) return; args.AddAction(ref component.ActionEntity, "Halt"); diff --git a/Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs b/Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs index 9fe4f97433..e9beeb1b97 100644 --- a/Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs +++ b/Content.Shared/Buckle/SharedBuckleSystem.Buckle.cs @@ -439,7 +439,7 @@ public abstract partial class SharedBuckleSystem if (ActionBlocker.CanInteract(userUid, buckleUid) == false) return false; - + // If the strap is a vehicle and the rider is not the person unbuckling, return. Unless the rider is crit or dead. if (TryComp(strapUid, out var vehicle) && vehicle.Rider != userUid && !_mobState.IsIncapacitated(buckleUid)) return false;