Merge pull request #16711 from Vi3trice/and-my-axe

Fix - Removes twohanded wielding when equipping the item to a different slot
This commit is contained in:
variableundefined
2021-09-17 20:34:13 -05:00
committed by GitHub
@@ -92,6 +92,11 @@
user.put_in_inactive_hand(O)
return TRUE
/obj/item/twohanded/mob_can_equip(mob/M, slot) //Unwields twohanded items when they're attempted to be equipped to another slot
if(wielded)
unwield(M)
return ..()
/obj/item/twohanded/dropped(mob/user)
..()
//handles unwielding a twohanded weapon when dropped as well as clearing up the offhand