Removes the global lists all_clothing, all_items, all_objs, and all_atoms for performance reasons.

- The cost of maintaining these lists is more than the benefit of having them (mostly used only for debugging code)
This commit is contained in:
Leshana
2018-05-27 13:18:11 -04:00
parent be5c144a16
commit 0994c9dbe7
13 changed files with 25 additions and 33 deletions

View File

@@ -296,7 +296,7 @@ var/list/debug_verbs = list (
var/list/atom/atom_list = list()
for(var/atom/A in all_atoms)
for(var/atom/A in world)
if(istype(A,type_path))
var/atom/B = A
while(!(isturf(B.loc)))
@@ -332,7 +332,7 @@ var/list/debug_verbs = list (
var/count = 0
for(var/atom/A in all_atoms)
for(var/atom/A in world)
if(istype(A,type_path))
count++
/*