From d7444d6fba610b6b0f36adc123b8314aec6be4b2 Mon Sep 17 00:00:00 2001 From: The Sharkening <95130227+StrangeWeirdKitten@users.noreply.github.com> Date: Thu, 9 Jul 2026 22:20:16 -0600 Subject: [PATCH] Removes UNIT_TEST_FOCUS from boulder processing and adds a warning message that alerts when CI has it. (#96911) --- code/modules/unit_tests/boulder_processing.dm | 1 - code/modules/unit_tests/unit_test.dm | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/unit_tests/boulder_processing.dm b/code/modules/unit_tests/boulder_processing.dm index 39a107c8c84..41b93c2ff9a 100644 --- a/code/modules/unit_tests/boulder_processing.dm +++ b/code/modules/unit_tests/boulder_processing.dm @@ -3,7 +3,6 @@ */ /datum/unit_test/boulder_processing - test_flags = UNIT_TEST_FOCUS /datum/unit_test/boulder_processing/Run() var/turf/refinery_loc = get_step(run_loc_floor_bottom_left, EAST) diff --git a/code/modules/unit_tests/unit_test.dm b/code/modules/unit_tests/unit_test.dm index cc82a258e09..f3773a4a9da 100644 --- a/code/modules/unit_tests/unit_test.dm +++ b/code/modules/unit_tests/unit_test.dm @@ -68,6 +68,8 @@ GLOBAL_VAR_INIT(focused_tests, focused_tests()) var/datum/map_template/unit_tests/template = new reservation = template.load_new_z() + if(test_flags & UNIT_TEST_FOCUS) + warning("[src] has UNIT_TEST_FOCUS present inside var/test_flags.") uncreatables ||= build_list_of_uncreatables() allocated = list()