From 1ee075e35ca38df2c1e1d40f1a67c5e3428a7aee Mon Sep 17 00:00:00 2001 From: "rockdtben@gmail.com" Date: Fri, 8 Jun 2012 14:32:32 +0000 Subject: [PATCH] Fixed some lag caused by improper usage of loops. Enjoy. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3764 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/living/carbon/human/life.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index ab650a8ec94..5e78eab0774 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -916,9 +916,9 @@ see_in_dark = 2 var/seer = 0 - for(var/obj/effect/rune/R in world) - if(loc==R.loc && R.word1==wordsee && R.word2==wordhell && R.word3==wordjoin) - seer = 1 + var/obj/effect/rune/R = locate() in loc + if (istype(R) && R.word1 == wordsee && R.word2 == wordhell && R.word3 == wordjoin) + seer = 1 if(!seer) see_invisible = 0