[NO GBP]Fixes stopping, dropping and rolling not extinguishing your clothing (#67096)

* Resisting out of fire now makes your clothes stop being on fire, too.
This commit is contained in:
SmArtKar
2022-05-23 23:50:26 -04:00
committed by GitHub
parent 36a437cd16
commit 4cfefad2f8
2 changed files with 6 additions and 8 deletions
@@ -234,6 +234,12 @@
SEND_SIGNAL(owner, COMSIG_LIVING_EXTINGUISHED, owner)
cache_stacks()
update_overlay()
if(!iscarbon(owner))
return
for(var/obj/item/equipped in owner.get_equipped_items())
equipped.wash(CLEAN_TYPE_ACID)
equipped.extinguish()
/datum/status_effect/fire_handler/fire_stacks/on_remove()
if(on_fire)
-8
View File
@@ -945,14 +945,6 @@
to_chat(user, span_notice("You retrieve some of [src]\'s internal organs!"))
remove_all_embedded_objects()
/mob/living/carbon/extinguish_mob()
for(var/X in get_equipped_items())
var/obj/item/I = X
I.wash(CLEAN_TYPE_ACID) //washes off the acid on our clothes
I.extinguish() //extinguishes our clothes
..()
/mob/living/carbon/proc/create_bodyparts()
var/l_arm_index_next = -1
var/r_arm_index_next = 0