mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-06 15:32:52 +00:00
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:
@@ -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++
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user