From 7ff835749995cf5deb5eb479db03d558559b5841 Mon Sep 17 00:00:00 2001 From: Kyep Date: Mon, 22 Apr 2019 21:29:11 -0700 Subject: [PATCH] counter support --- code/modules/mob/living/carbon/human/life.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index aaeaba94a2c..578c5967181 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -50,11 +50,11 @@ force_cryo_human(src) /mob/living/carbon/human/proc/handle_ssd() - if(player_logged > 0 && config.auto_cryo_ssd_mins && stat != DEAD && job) + if(player_logged > 0 && stat != DEAD && job) player_logged++ if(istype(loc, /obj/machinery/cryopod)) return - if((player_logged >= (config.auto_cryo_ssd_mins * 30)) && player_logged % 30 == 0) + if(config.auto_cryo_ssd_mins && (player_logged >= (config.auto_cryo_ssd_mins * 30)) && player_logged % 30 == 0) var/turf/T = get_turf(src) if(!is_station_level(T.z)) return