Makes GetAllContents faster. (#2036)

This commit is contained in:
CitadelStationBot
2017-07-17 02:53:50 -05:00
committed by kevinz000
parent 3066f32215
commit 7a0c43e492
+1 -3
View File
@@ -499,9 +499,7 @@ Turf and target are seperate in case you want to teleport some distance from a t
var/atom/A = processing_list[1]
processing_list -= A
for(var/atom/a in A)
if(!(a in assembled))
processing_list |= a
processing_list |= (A.contents - assembled)
assembled |= A