Merge pull request #6401 from Shophaune/dronehatissues

Maybe fixes drone hat issues
This commit is contained in:
Atermonera
2019-08-12 13:58:27 -04:00
committed by VirgoBot
parent dd7a7842ed
commit 6bb746995e
@@ -26,10 +26,10 @@
if(!istype(H) || !Adjacent(H))
return ..()
if(H.a_intent == "grab" && hat && !(H.l_hand && H.r_hand))
hat.loc = get_turf(src)
H.put_in_hands(hat)
H.visible_message("<span class='danger'>\The [H] removes \the [src]'s [hat].</span>")
hat = null
updateicon()
return
else
return ..()