Repathes mining_hammer -> kinetic_crusher. Also fixes offhands being

qdelled many times.
This commit is contained in:
Lzimann
2017-06-22 16:32:24 -03:00
parent 4ac64a7014
commit 88816aae12
4 changed files with 21 additions and 27 deletions
+2 -6
View File
@@ -84,21 +84,17 @@
return
/obj/item/weapon/twohanded/dropped(mob/user)
..()
. = ..()
//handles unwielding a twohanded weapon when dropped as well as clearing up the offhand
if(!wielded)
return
if(user)
var/obj/item/weapon/twohanded/O = user.get_inactive_held_item()
if(istype(O))
O.unwield(user, FALSE)
unwield(user)
/obj/item/weapon/twohanded/update_icon()
return
/obj/item/weapon/twohanded/attack_self(mob/user)
..()
. = ..()
if(wielded) //Trying to unwield it
unwield(user)
else //Trying to wield it