This commit is contained in:
silicons
2020-12-26 22:28:41 -08:00
parent 57065d995e
commit 5266ae1437
5 changed files with 6 additions and 8 deletions
@@ -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)