mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Update carbon_procs.dm (#29021)
This commit is contained in:
@@ -1235,10 +1235,7 @@ so that different stomachs can handle things in different ways VB*/
|
||||
. |= LH.GetAccess()
|
||||
|
||||
/mob/living/carbon/proc/can_breathe_gas()
|
||||
if(isnull(internal)) // no internals - breath from environment
|
||||
return TRUE
|
||||
|
||||
if(wear_mask?.flags & BLOCK_GAS_SMOKE_EFFECT || head?.flags & BLOCK_GAS_SMOKE_EFFECT)
|
||||
if(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