From d3d9a79cd0e4a727396d1acb550b15f35d912d7b Mon Sep 17 00:00:00 2001 From: GinjaNinja32 Date: Tue, 29 Dec 2015 06:49:18 +0000 Subject: [PATCH] fix logging, fix commented-out code and explain comment --- code/game/machinery/cryopod.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index f1048f1d47..4d0b021275 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -319,13 +319,13 @@ find_control_computer() /obj/machinery/cryopod/proc/find_control_computer(urgent=0) - //control_computer = locate(/obj/machinery/computer/cryopod) in src.loc + //control_computer = locate(/obj/machinery/computer/cryopod) in src.loc.loc // Broken due to http://www.byond.com/forum/?post=2007448 control_computer = locate(/obj/machinery/computer/cryopod) in range(6,src) // Don't send messages unless we *need* the computer, and less than five minutes have passed since last time we messaged if(!control_computer && urgent && last_no_computer_message + 5*60*10 < world.time) - log_admin("Cryopod in [src.loc] could not find control computer!") - message_admins("Cryopod in [src.loc] could not find control computer!") + log_admin("Cryopod in [src.loc.loc] could not find control computer!") + message_admins("Cryopod in [src.loc.loc] could not find control computer!") last_no_computer_message = world.time return control_computer != null