IPCs no longer are affected by can_breathe_gas (#29940)

* IPCs no longer are affected by can_breathe_gas

* Fix

* Trait check
This commit is contained in:
PollardTheDragon
2025-10-11 15:38:22 +00:00
committed by GitHub
parent d2b092dad5
commit ca0dfe46f6
@@ -1292,7 +1292,7 @@ so that different stomachs can handle things in different ways VB*/
. |= LH.GetAccess()
/mob/living/carbon/proc/can_breathe_gas()
if(wear_mask?.flags & BLOCK_GAS_SMOKE_EFFECT || head?.flags & BLOCK_GAS_SMOKE_EFFECT || internal)
if(HAS_TRAIT(src, TRAIT_NOBREATH) || wear_mask?.flags & BLOCK_GAS_SMOKE_EFFECT || head?.flags & BLOCK_GAS_SMOKE_EFFECT || internal)
return FALSE
return TRUE