From 22938a9a56574c0424828530a53cbfe7b811f4aa Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Fri, 18 Oct 2024 21:20:04 +0200 Subject: [PATCH] Allow strip removing items if you're holding something (#32750) You were already able to strip more items at once from somebody than you could hold, and they would drop to the floor. This matched the behavior in SS13. Annoyingly, however, you were not allowed to *start* a stripping action if you're holding something. This just feels like an annoying paper cut, so this is no longer a thing. --- Content.Shared/Strip/SharedStrippableSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Shared/Strip/SharedStrippableSystem.cs b/Content.Shared/Strip/SharedStrippableSystem.cs index e1c3d8ef0d..7afe503275 100644 --- a/Content.Shared/Strip/SharedStrippableSystem.cs +++ b/Content.Shared/Strip/SharedStrippableSystem.cs @@ -103,7 +103,7 @@ public abstract class SharedStrippableSystem : EntitySystem if (userHands.ActiveHandEntity != null && !hasEnt) StartStripInsertInventory((user, userHands), strippable.Owner, userHands.ActiveHandEntity.Value, args.Slot); - else if (userHands.ActiveHandEntity == null && hasEnt) + else if (hasEnt) StartStripRemoveInventory(user, strippable.Owner, held!.Value, args.Slot); } @@ -135,7 +135,7 @@ public abstract class SharedStrippableSystem : EntitySystem if (user.Comp.ActiveHandEntity != null && handSlot.HeldEntity == null) StartStripInsertHand(user, target, user.Comp.ActiveHandEntity.Value, handId, targetStrippable); - else if (user.Comp.ActiveHandEntity == null && handSlot.HeldEntity != null) + else if (handSlot.HeldEntity != null) StartStripRemoveHand(user, target, handSlot.HeldEntity.Value, handId, targetStrippable); } -- 2.52.0