okay
This commit is contained in:
@@ -41,7 +41,6 @@
|
||||
for(var/y in L2)
|
||||
var/turf/tile = locate(text2num(x), text2num(y), actual_z)
|
||||
if(!tile)
|
||||
to_chat(world, "DEBUG: aborting due to no turf ([x] [y] [actual_z])")
|
||||
continue
|
||||
var/list/objects = data[z][x][y]
|
||||
for(var/_L in objects)
|
||||
@@ -54,10 +53,8 @@
|
||||
path = text2path(_L)
|
||||
objdata = objects[_L]
|
||||
if(!path)
|
||||
to_chat(world, "DEBUG: Aborting: No path ([x] [y] [actual_z])")
|
||||
continue
|
||||
if(!IsValidDebrisLocation(tile, allowed_turf_typecache, allowed_z_cache, path, TRUE))
|
||||
to_chat(world, "DEBUG: Aborting: Invalid location ([x] [y] [actual_z])")
|
||||
continue
|
||||
var/obj/effect/decal/cleanable/instantiated = new path(tile)
|
||||
if(objdata)
|
||||
|
||||
Reference in New Issue
Block a user