mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Repathes mining_hammer -> kinetic_crusher. Also fixes offhands being
qdelled many times.
This commit is contained in:
@@ -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