From 0a99820790dc0a59118bd0a59c79e50818305430 Mon Sep 17 00:00:00 2001 From: Erthilo Date: Wed, 16 May 2012 19:33:47 +0100 Subject: [PATCH] Uncomments AutoUpdateAI and AutoUpdateTK due to the former needed for AI's computer updating, and the latter being commented out where used. --- code/game/algorithm.dm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/code/game/algorithm.dm b/code/game/algorithm.dm index 386a48d4326..f0c1a7f737a 100644 --- a/code/game/algorithm.dm +++ b/code/game/algorithm.dm @@ -179,19 +179,16 @@ proc/countJob(rank) del(W) return equipped -/proc/AutoUpdateAI(obj/subject) -/* +/proc/AutoUpdateAI(obj/subject) // Needed for AI's to not have to click on every computer after every change. if (subject!=null) for(var/mob/living/silicon/ai/M in world) if ((M.client && M.machine == subject)) subject.attack_ai(M) -*/ -/proc/AutoUpdateTK(obj/subject) -/* if (subject!=null) +/proc/AutoUpdateTK(obj/subject) // Commented where used due to lag. + if (subject!=null) for(var/obj/item/tk_grab/T in world) if (T.host) var/mob/M = T.host if(M.client && M.machine == subject) subject.attack_hand(M) -*/