From f0f7d68727c4f1a950156071c4e4f1058cc8b437 Mon Sep 17 00:00:00 2001 From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Thu, 26 Jun 2025 18:17:25 +0200 Subject: [PATCH] fix smart equip (#38605) --- Content.Shared/Interaction/SmartEquipSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Interaction/SmartEquipSystem.cs b/Content.Shared/Interaction/SmartEquipSystem.cs index 797dc367b4..da79fc1e69 100644 --- a/Content.Shared/Interaction/SmartEquipSystem.cs +++ b/Content.Shared/Interaction/SmartEquipSystem.cs @@ -80,7 +80,7 @@ public sealed class SmartEquipSystem : EntitySystem } // early out if we have an item and cant drop it at all - if (hands.ActiveHandId != null && !_hands.CanDropHeld(uid, hands.ActiveHandId)) + if (handItem != null && !_hands.CanDropHeld(uid, hands.ActiveHandId)) { _popup.PopupClient(Loc.GetString("smart-equip-cant-drop"), uid, uid); return; -- 2.51.2