Fixes No Breathe Trait (#22858)

No Breathe wasn't properly checked anywhere because Pressure Immunity
was doing its job by accident.
Also makes Runtime's shuttle area require power, for convenience.
This commit is contained in:
runecap
2026-07-17 18:48:43 +00:00
committed by GitHub
parent d39c2c792f
commit d3018c35b3
3 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
/mob/living/carbon/proc/breathe(var/volume_needed = BREATH_VOLUME)
if(species && (species.flags & NO_BREATHE))
return
if(HAS_TRAIT(src, TRAIT_PRESSURE_IMMUNITY))
if(HAS_TRAIT(src, TRAIT_NO_BREATHE))
return
volume_needed *= (species?.breath_vol_mul || 1)