Offhand backup plan (#22679)

* no longer asks the offhand to neatly unwield

should fix the issues??

* re-callbacks the sky bulge

* revert the qdel
This commit is contained in:
Haevacht
2017-01-05 19:05:25 +13:00
committed by oranges
parent 80f83e8047
commit 2e93eeea51
@@ -132,6 +132,12 @@
wielded = FALSE
qdel(src)
/obj/item/weapon/twohanded/offhand/attack_self(mob/living/carbon/user) //You should never be able to do this in standard use of two handed items. This is a backup for lingering offhands.
var/obj/item/weapon/twohanded/O = user.get_inactive_held_item()
if (istype(O) && !istype(O, /obj/item/weapon/twohanded/offhand/)) //If you have a proper item in your other hand that the offhand is for, do nothing. This should never happen.
return
qdel(src) //If it's another offhand, or literally anything else, qdel. If I knew how to add logging messages I'd put one here.
///////////Two hand required objects///////////////
//This is for objects that require two hands to even pick up
/obj/item/weapon/twohanded/required