code quality
This commit is contained in:
+7
-5
@@ -95,8 +95,9 @@ GLOBAL_LIST(topic_status_cache)
|
||||
|
||||
Master.Initialize(10, FALSE, TRUE)
|
||||
|
||||
if(TEST_RUN_PARAMETER in params)
|
||||
HandleTestRun()
|
||||
#ifdef UNIT_TESTS
|
||||
HandleTestRun()
|
||||
#endif
|
||||
|
||||
/world/proc/InitTgs()
|
||||
TgsNew(new /datum/tgs_event_handler/impl, TGS_SECURITY_TRUSTED)
|
||||
@@ -261,9 +262,10 @@ GLOBAL_LIST(topic_status_cache)
|
||||
|
||||
TgsReboot()
|
||||
|
||||
if(TEST_RUN_PARAMETER in params)
|
||||
FinishTestRun()
|
||||
return
|
||||
#ifdef UNIT_TESTS
|
||||
FinishTestRun()
|
||||
return
|
||||
#endif
|
||||
|
||||
if(TgsAvailable())
|
||||
var/do_hard_reboot
|
||||
|
||||
Reference in New Issue
Block a user