mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user