Experimental fix for some of the horribad lag in the game.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3264 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
vageyenaman@gmail.com
2012-03-08 01:25:12 +00:00
parent b60aa0dc78
commit b72c69580c
+6 -1
View File
@@ -10,6 +10,11 @@
// check for TK users
AutoUpdateTK(src)
if (istype(usr, /mob/living/carbon/human))
if(istype(usr.l_hand, /obj/item/tk_grab) || istype(usr.r_hand, /obj/item/tk_grab/))
if(!(usr in nearby))
if(usr.client && usr.machine==src)
src.attack_hand(usr)
/obj/proc/updateDialog()
var/list/nearby = viewers(1, src)
@@ -17,7 +22,7 @@
if ((M.client && M.machine == src))
src.attack_hand(M)
AutoUpdateAI(src)
AutoUpdateTK(src)
//AutoUpdateTK(src)
/obj/proc/update_icon()
return