[NO_GBP] Fix map_export admin verb not blacklisting obj/effects (#91335)

Should have used `typecacheof()` instead of `typesof()` to properly
configure the blacklist.

Multi-z has `obj/effect/abstract` being applied to lots of turfs that
need to be ignored.
This commit is contained in:
Tim
2025-05-29 14:22:32 -05:00
committed by Roxy
parent 4f9c758261
commit ae42cce94b
+4 -4
View File
@@ -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