mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
[MIRROR] Clears up issues moods and alerts on gain of NOBREATH (#968)
* Clears up issues moods and alerts on gain of NOBREATH (#53908) Fixes up the gain of the NOBREATH trait to clear breath related moods and alerts. Added a godmode fix up for humans also. * Clears up issues moods and alerts on gain of NOBREATH Co-authored-by: NightRed <nightred@gmail.com>
This commit is contained in:
@@ -76,6 +76,8 @@
|
||||
|
||||
/obj/item/organ/lungs/proc/check_breath(datum/gas_mixture/breath, mob/living/carbon/human/H)
|
||||
if(H.status_flags & GODMODE)
|
||||
H.failed_last_breath = FALSE //clear oxy issues
|
||||
H.clear_alert("not_enough_oxy")
|
||||
return
|
||||
if(HAS_TRAIT(H, TRAIT_NOBREATH))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user