diff --git a/code/modules/admin/verbs/map_export.dm b/code/modules/admin/verbs/map_export.dm index 74af2d01025..12ffc42813f 100644 --- a/code/modules/admin/verbs/map_export.dm +++ b/code/modules/admin/verbs/map_export.dm @@ -202,7 +202,7 @@ GLOBAL_LIST_INIT(save_file_chars, list( maxz, save_flag = ALL, shuttle_area_flag = SAVE_SHUTTLEAREA_DONTCARE, - list/obj_blacklist = typesof(/obj/effect), + list/obj_blacklist = typecacheof(/obj/effect), ) var/width = maxx - minx var/height = maxy - miny @@ -212,9 +212,9 @@ GLOBAL_LIST_INIT(save_file_chars, list( CRASH("Non-list being used as object blacklist for map writing") // we want to keep crayon writings, blood splatters, cobwebs, etc. - obj_blacklist -= typesof(/obj/effect/decal) - obj_blacklist -= typesof(/obj/effect/turf_decal) - obj_blacklist -= typesof(/obj/effect/landmark) // most landmarks get deleted except for latejoin arrivals shuttle + obj_blacklist -= typecacheof(/obj/effect/decal) + obj_blacklist -= typecacheof(/obj/effect/turf_decal) + obj_blacklist -= typecacheof(/obj/effect/landmark) // most landmarks get deleted except for latejoin arrivals shuttle //Step 0: Calculate the amount of letters we need (26 ^ n > turf count) var/turfs_needed = width * height