Merge pull request #5583 from VOREStation/upstream-merge-6401

[MIRROR] Maybe fixes drone hat issues
This commit is contained in:
Novacat
2019-08-12 14:32:43 -04:00
committed by GitHub

View File

@@ -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 ..()