From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Thu, 26 Jun 2025 16:17:25 +0000 (+0200) Subject: fix smart equip (#38605) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=f0f7d68727c4f1a950156071c4e4f1058cc8b437;p=space-station-14.git fix smart equip (#38605) --- 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;