Repathes mining_hammer -> kinetic_crusher. Also fixes offhands being qdel'd more than once (#1753)
This commit is contained in:
committed by
kevinz000
parent
32c35a211b
commit
8627946f72
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user