Update turf.dm
This commit is contained in:
@@ -411,7 +411,7 @@
|
||||
// Remove all atoms except observers, landmarks, docking ports
|
||||
var/turf/T0 = src
|
||||
var/static/list/ignored_atoms = typecacheof(list(/turf, /mob/dead, /obj/effect/landmark, /obj/docking_port, /atom/movable/lighting_object))
|
||||
var/list/allowed_contents = typecache_filter_list(T0.GetAllContents(),ignored_atoms,reversed=TRUE)
|
||||
var/list/allowed_contents = typecache_filter_list_reverse(GetAllContents(),ignored_atoms)
|
||||
for(var/i in 1 to allowed_contents.len)
|
||||
var/thing = allowed_contents[i]
|
||||
qdel(thing, force=TRUE)
|
||||
|
||||
Reference in New Issue
Block a user