Fix #18913 splashing acid on masks no longer displays "Your [null] melts away!" (#19134)

* doesnt melts away [null] anymore

* edit on line 358 and update to QDEL_NULL

* Update code/modules/reagents/chemistry/reagents/toxins.dm

Co-authored-by: Edan <29551695+Edan52@users.noreply.github.com>

* Update code/modules/reagents/chemistry/reagents/toxins.dm

Co-authored-by: Edan <29551695+Edan52@users.noreply.github.com>

* Update code/modules/reagents/chemistry/reagents/toxins.dm

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

* Update code/modules/reagents/chemistry/reagents/toxins.dm

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

Co-authored-by: Edan <29551695+Edan52@users.noreply.github.com>
Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
Henri215
2022-10-01 11:50:56 -03:00
committed by GitHub
parent 4943029181
commit 33d844aba0
@@ -347,15 +347,13 @@
else
var/melted_something = FALSE
if(H.wear_mask && !(H.wear_mask.resistance_flags & ACID_PROOF))
to_chat(H, "<span class='danger'>Your [H.wear_mask.name] melts away!</span>")
qdel(H.wear_mask)
H.update_inv_wear_mask()
to_chat(H, "<span class='danger'>Your [H.wear_mask] melts away!</span>")
melted_something = TRUE
if(H.head && !(H.head.resistance_flags & ACID_PROOF))
to_chat(H, "<span class='danger'>Your [H.head.name] melts away!</span>")
qdel(H.head)
H.update_inv_head()
to_chat(H, "<span class='danger'>Your [H.head] melts away!</span>")
melted_something = TRUE
if(melted_something)
return