Fix to breathing inside objects.

This commit is contained in:
cib
2012-11-21 20:33:24 +01:00
parent 0644ac9af0
commit e6af3afd42

View File

@@ -528,7 +528,7 @@
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)