Emergency Patch: Mobs not breathing right in containers

THANKS FOXBAMA
This commit is contained in:
Tigercat2000
2015-05-20 17:40:32 -07:00
parent 686c15b6f2
commit e03a1d7f23
+1 -1
View File
@@ -373,7 +373,7 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc
if(!breath)
if(isobj(loc))
var/obj/location_as_object = loc
breath = location_as_object.handle_internal_lifeform(src, BREATH_VOLUME)
breath = location_as_object.handle_internal_lifeform(src, BREATH_MOLES)
else if(isturf(loc))
var/breath_moles = 0
/*if(environment.return_pressure() > ONE_ATMOSPHERE)