Merge pull request #1121 from tigercat2000/FOXWHY

Emergency Patch: Mobs not breathing right in containers
This commit is contained in:
Fox-McCloud
2015-05-20 20:56:26 -04:00
+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)