Maploader tweaks (#20026)

Fixed the maploader sleeping without reinitializing SSAtoms to
initialize, which caused some runtimes in niche cases in the CI.
This commit is contained in:
Fluffy
2024-10-10 00:52:06 +02:00
committed by GitHub
parent 1614f9ade4
commit ee930d675a
148 changed files with 6478 additions and 12953 deletions
@@ -59,9 +59,9 @@
SSair.can_fire = FALSE
log_and_message_admins("is attempting to place a map template [log_name].")
to_chat(usr, "Attempting to place map template [log_name].")
var/new_z_centre = template.load_new_z(FALSE) // Don't skip changeturf
if (new_z_centre)
log_and_message_admins("has placed a map template [log_name].", location = new_z_centre)
var/bounds = template.load_new_z(FALSE) // Don't skip changeturf
if (bounds)
log_and_message_admins("has placed a map template [log_name] on Z bounds [bounds[MAP_MINZ]] - [bounds[MAP_MAXZ]].")
to_chat(usr, "Successfully place map template [log_name].")
else
log_and_message_admins("has failed to place a map template [log_name].")