From 3937c2acf92614df2e8634ac15b6ec9f6b1bd2e6 Mon Sep 17 00:00:00 2001 From: 1080pCat <96908085+1080pCat@users.noreply.github.com> Date: Wed, 25 Dec 2024 12:21:34 +1000 Subject: [PATCH] Fixes IPCs thinking they need to breath. Woops. (#27737) * Fixes IPCs thinking they need to breath. Woops. * Update _species.dm --- code/modules/mob/living/carbon/human/species/_species.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/species/_species.dm b/code/modules/mob/living/carbon/human/species/_species.dm index 3e8ebcb21d8..7d18e244adf 100644 --- a/code/modules/mob/living/carbon/human/species/_species.dm +++ b/code/modules/mob/living/carbon/human/species/_species.dm @@ -270,8 +270,8 @@ /datum/species/proc/breathe(mob/living/carbon/human/H) var/datum/organ/lungs/lung = H.get_int_organ_datum(ORGAN_DATUM_LUNGS) - if(HAS_TRAIT(H, TRAIT_NOBREATH) && lung) - lung.clear_alerts(H) + if(HAS_TRAIT(H, TRAIT_NOBREATH)) + lung?.clear_alerts(H) return TRUE ////////////////