From 33d844aba0986d8b70c5aca774b6d5a23b56ca02 Mon Sep 17 00:00:00 2001 From: Henri215 <77684085+Henri215@users.noreply.github.com> Date: Sat, 1 Oct 2022 11:50:56 -0300 Subject: [PATCH] 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 * Update code/modules/reagents/chemistry/reagents/toxins.dm Co-authored-by: Farie82 Co-authored-by: Edan <29551695+Edan52@users.noreply.github.com> Co-authored-by: Farie82 --- code/modules/reagents/chemistry/reagents/toxins.dm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/modules/reagents/chemistry/reagents/toxins.dm b/code/modules/reagents/chemistry/reagents/toxins.dm index cc09413c354..158a3b341a8 100644 --- a/code/modules/reagents/chemistry/reagents/toxins.dm +++ b/code/modules/reagents/chemistry/reagents/toxins.dm @@ -347,15 +347,13 @@ else var/melted_something = FALSE if(H.wear_mask && !(H.wear_mask.resistance_flags & ACID_PROOF)) + to_chat(H, "Your [H.wear_mask.name] melts away!") qdel(H.wear_mask) - H.update_inv_wear_mask() - to_chat(H, "Your [H.wear_mask] melts away!") melted_something = TRUE if(H.head && !(H.head.resistance_flags & ACID_PROOF)) + to_chat(H, "Your [H.head.name] melts away!") qdel(H.head) - H.update_inv_head() - to_chat(H, "Your [H.head] melts away!") melted_something = TRUE if(melted_something) return