Fix testing and mapload MILLA issues (#27850)

This commit is contained in:
Charlie Nolan
2025-01-07 15:16:57 -08:00
committed by GitHub
parent 2050e905a1
commit ec84f16ee4
4 changed files with 80 additions and 7 deletions
+2 -2
View File
@@ -62,13 +62,13 @@
stack_trace("One of the smoothing corners is bust")
catch(var/exception/e)
GLOB.space_manager.remove_dirt(placement.z)
var/datum/milla_safe/late_setup_level/milla = new()
var/datum/milla_safe_must_sleep/late_setup_level/milla = new()
milla.invoke_async(bot_left, top_right, block(ST_bot_left, ST_top_right))
message_admins("Map template [name] threw an error while loading. Safe exit attempted, but check for errors at [ADMIN_COORDJMP(placement)].")
log_admin("Map template [name] threw an error while loading. Safe exit attempted.")
throw e
GLOB.space_manager.remove_dirt(placement.z)
var/datum/milla_safe/late_setup_level/milla = new()
var/datum/milla_safe_must_sleep/late_setup_level/milla = new()
milla.invoke_async(bot_left, top_right, block(ST_bot_left, ST_top_right))
log_game("[name] loaded at [min_x],[min_y],[placement.z]")