Undefines local defines and moves global to __define (#16028)

* first set of defines

* some more

* .

* final defines

* del local define
This commit is contained in:
Kashargul
2024-06-09 17:29:20 +10:00
committed by GitHub
parent 951cdf17b4
commit 6cabe9f7e6
85 changed files with 329 additions and 131 deletions
+3 -3
View File
@@ -43,9 +43,9 @@ var/global/pipe_processing_killed = 0
admin_notice("<span class='danger'>Initializations complete.</span>", R_DEBUG)
// #if UNIT_TEST
// #define CHECK_SLEEP_MASTER // For unit tests we don't care about a smooth lobby screen experience. We care about speed.
// # define CHECK_SLEEP_MASTER // For unit tests we don't care about a smooth lobby screen experience. We care about speed.
// #else
// #define CHECK_SLEEP_MASTER if(++initialized_objects > 500) { initialized_objects=0;sleep(world.tick_lag); }
// # define CHECK_SLEEP_MASTER if(++initialized_objects > 500) { initialized_objects=0;sleep(world.tick_lag); }
// #endif
/datum/controller/game_controller/proc/setup_objects()
@@ -53,4 +53,4 @@ var/global/pipe_processing_killed = 0
populate_antag_type_list()
//Set up spawn points.
populate_spawn_points()
populate_spawn_points()