fix smart equip (#38605)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user