Brings in some mapping code updates.

This commit is contained in:
Ghommie
2019-12-19 00:44:14 +01:00
parent 5be981e026
commit 8566e2396d
26 changed files with 115 additions and 155 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
. = ..()
if(preload_cell_type)
if(!ispath(preload_cell_type,/obj/item/stock_parts/cell))
log_world("### MAP WARNING, [src] at [AREACOORD(src)] had an invalid preload_cell_type: [preload_cell_type].")
log_mapping("[src] at [AREACOORD(src)] had an invalid preload_cell_type: [preload_cell_type].")
else
cell = new preload_cell_type(src)
update_icon()