Maybe fixes drone hat issues

Updates this proc to current Baystation code. Either they have broken hats there or this will fix the bug - if it doesn't can someone who knows what they're doing please look into this? Maybe you, if you're reading this description?
This commit is contained in:
Shophaune
2019-08-09 20:46:48 +01:00
parent 223852f4ac
commit fd9e7e2e2b

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