Merge pull request #6232 from Verkister/patch-69

Fixes proteans being immune to duffle chonk
This commit is contained in:
Nadyr
2023-05-24 05:24:04 -04:00
committed by GitHub

View File

@@ -135,6 +135,9 @@
// Loop through some slots, and add up their slowdowns.
// Includes slots which can provide armor, the back slot, and suit storage.
for(var/obj/item/I in list(wear_suit, w_uniform, back, gloves, head, s_store))
if(istype(I,/obj/item/weapon/rig)) //CHOMPAdd
for(var/obj/item/II in I.contents)
. += II.slowdown
. += I.slowdown
// Hands are also included, to make the 'take off your armor instantly and carry it with you to go faster' trick no longer viable.
@@ -303,4 +306,4 @@
/mob/living/carbon/human/set_dir(var/new_dir)
. = ..()
if(. && (species.tail || tail_style))
update_tail_showing()
update_tail_showing()