mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 02:56:14 +01:00
Merge pull request #5304 from VOREStation/vplk-reverse-all_atoms
Reverse use of global lists where they hurt performance.
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
|
||||
|
||||
/datum/file/program/crew/proc/scan()
|
||||
for(var/obj/item/clothing/under/C in all_clothing)
|
||||
for(var/obj/item/clothing/under/C in world)
|
||||
if((C.has_sensor) && (istype(C.loc, /mob/living/carbon/human)))
|
||||
tracked |= C
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user