Converts some map focused tests to map logging (#94538)

This commit is contained in:
SyncIt21
2025-12-29 11:28:33 -07:00
committed by GitHub
parent bc17e3ed51
commit b5055f0a42
5 changed files with 9 additions and 18 deletions
+2 -2
View File
@@ -141,7 +141,7 @@
return FALSE
var/msg
if(PERFORM_ALL_TESTS(focus_only/atom_mounted) && !mark_for_late_init)
if(PERFORM_ALL_TESTS(maptest_log_mapping) && !mark_for_late_init)
msg = "[type] Could not find attachable object at [location.type] "
var/list/turf/attachable_turfs = get_turfs_to_mount_on()
@@ -161,7 +161,7 @@
if(msg)
msg += "([target.x],[target.y],[target.z]) "
if(msg)
stack_trace(msg)
log_mapping(msg)
if(mark_for_late_init)
obj_flags |= MOUNT_ON_LATE_INITIALIZE