mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
TG: Fixed some lag caused by improper usage of loops. Enjoy.
Revision: r3764 Author: rockdtben
This commit is contained in:
@@ -1158,6 +1158,7 @@
|
||||
seer = 0
|
||||
see_invisible = 0
|
||||
|
||||
|
||||
else if (istype(wear_mask, /obj/item/clothing/mask/gas/voice/space_ninja))
|
||||
switch(wear_mask:mode)
|
||||
if(0)
|
||||
@@ -1220,13 +1221,12 @@
|
||||
see_in_dark = 2
|
||||
|
||||
var/seer = 0
|
||||
for(var/obj/effect/rune/R in loc)
|
||||
if(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
|
||||
|
||||
|
||||
else if(istype(head, /obj/item/clothing/head/helmet/welding)) // wat. This is never fucking called.
|
||||
if(!head:up && tinted_weldhelh)
|
||||
see_in_dark = 1
|
||||
|
||||
Reference in New Issue
Block a user