mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-25 17:42:26 +00:00
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:
@@ -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 ..()
|
||||
Reference in New Issue
Block a user