From bdd955b036222a63dbe45c3c952d11d2f0283f5f Mon Sep 17 00:00:00 2001 From: yashaldie Date: Tue, 11 Mar 2014 05:45:10 -0400 Subject: [PATCH] Fixes Diona Nymph handling updates Diona Nymphs were not getting their Handling procs called. --- code/modules/mob/living/carbon/monkey/life.dm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/code/modules/mob/living/carbon/monkey/life.dm b/code/modules/mob/living/carbon/monkey/life.dm index 4ec4d41306..bb1b48a0ca 100644 --- a/code/modules/mob/living/carbon/monkey/life.dm +++ b/code/modules/mob/living/carbon/monkey/life.dm @@ -22,15 +22,16 @@ if(loc) environment = loc.return_air() - if (stat != DEAD && !istype(src,/mob/living/carbon/monkey/diona)) //still breathing - //First, resolve location and get a breath - if(air_master.current_cycle%4==2) - //Only try to take a breath every 4 seconds, unless suffocating - breathe() - else //Still give containing object the chance to interact - if(istype(loc, /obj/)) - var/obj/location_as_object = loc - location_as_object.handle_internal_lifeform(src, 0) + if (stat != DEAD) + if(!istype(src,/mob/living/carbon/monkey/diona)) //still breathing + //First, resolve location and get a breath + if(air_master.current_cycle%4==2) + //Only try to take a breath every 4 seconds, unless suffocating + breathe() + else //Still give containing object the chance to interact + if(istype(loc, /obj/)) + var/obj/location_as_object = loc + location_as_object.handle_internal_lifeform(src, 0) //Updates the number of stored chemicals for powers