Drops twohanded items that failed to wield instead of the user's active hand (#15022)

This commit is contained in:
dearmochi
2020-11-30 15:58:32 +00:00
committed by GitHub
parent ce7953b931
commit 05bdfe9426
+1 -1
View File
@@ -163,7 +163,7 @@
if(slot == slot_l_hand || slot == slot_r_hand)
wield(user)
if(!wielded) // Drop immediately if we couldn't wield
user.drop_item()
user.unEquip(src)
to_chat(user, "<span class='notice'>[src] is too cumbersome to carry in one hand!</span>")
else
unwield(user)