mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #5583 from VOREStation/upstream-merge-6401
[MIRROR] Maybe fixes drone hat issues
This commit is contained in:
@@ -26,10 +26,10 @@
|
|||||||
if(!istype(H) || !Adjacent(H))
|
if(!istype(H) || !Adjacent(H))
|
||||||
return ..()
|
return ..()
|
||||||
if(H.a_intent == "grab" && hat && !(H.l_hand && H.r_hand))
|
if(H.a_intent == "grab" && hat && !(H.l_hand && H.r_hand))
|
||||||
hat.loc = get_turf(src)
|
|
||||||
H.put_in_hands(hat)
|
H.put_in_hands(hat)
|
||||||
H.visible_message("<span class='danger'>\The [H] removes \the [src]'s [hat].</span>")
|
H.visible_message("<span class='danger'>\The [H] removes \the [src]'s [hat].</span>")
|
||||||
hat = null
|
hat = null
|
||||||
updateicon()
|
updateicon()
|
||||||
|
return
|
||||||
else
|
else
|
||||||
return ..()
|
return ..()
|
||||||
Reference in New Issue
Block a user