mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 12:04:48 +01:00
Fixes oxygen related alerts sticking in your hud if you loose the need to breath (#27731)
* Fixes oxygen related alerts sticking if you loose the ability to breath * random runtime? * random runtime i guess? * Update code/modules/mob/living/carbon/human/species/_species.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> --------- Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
@@ -269,7 +269,9 @@
|
||||
new mutantears(H)
|
||||
|
||||
/datum/species/proc/breathe(mob/living/carbon/human/H)
|
||||
if(HAS_TRAIT(H, TRAIT_NOBREATH))
|
||||
var/datum/organ/lungs/lung = H.get_int_organ_datum(ORGAN_DATUM_LUNGS)
|
||||
if(HAS_TRAIT(H, TRAIT_NOBREATH) && lung)
|
||||
lung.clear_alerts(H)
|
||||
return TRUE
|
||||
|
||||
////////////////
|
||||
|
||||
Reference in New Issue
Block a user