mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user