mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user