Fixes forced two-handed weapons being unstorable

This commit is contained in:
CitadelStationBot
2017-07-06 08:26:00 -05:00
parent b1b4826c0c
commit 6c0926f062
+6 -1
View File
@@ -177,16 +177,21 @@
else
unwield(user)
/obj/item/weapon/twohanded/required/dropped(mob/living/user, show_message = TRUE)
unwield(user, show_message)
..()
/obj/item/weapon/twohanded/required/wield(mob/living/carbon/user)
..()
if(!wielded)
user.dropItemToGround(src)
/obj/item/weapon/twohanded/required/unwield(mob/living/carbon/user, show_message = TRUE)
if(!wielded)
return
if(show_message)
to_chat(user, "<span class='notice'>You drop [src].</span>")
..(user, FALSE)
user.dropItemToGround(src)
/*
* Fireaxe