From 13d93f2b1763d49e7a082b8eb71bd587399a886f Mon Sep 17 00:00:00 2001 From: Lucy Date: Tue, 8 Apr 2025 13:29:06 -0400 Subject: [PATCH] Fixes `to_chat` never actually queuing (#90461) --- code/controllers/master.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/controllers/master.dm b/code/controllers/master.dm index 8d9dfe759d9..a42a8fef16f 100644 --- a/code/controllers/master.dm +++ b/code/controllers/master.dm @@ -490,7 +490,8 @@ ADMIN_VERB(cmd_controller_view_ui, R_SERVER|R_DEBUG, "Controller Overview", "Vie SS_INIT_NO_MESSAGE, ) - if (subsystem.flags & SS_NO_INIT || subsystem.initialized) //Don't init SSs with the corresponding flag or if they already are initialized + if ((subsystem.flags & SS_NO_INIT) || subsystem.initialized) //Don't init SSs with the corresponding flag or if they already are initialized + subsystem.initialized = TRUE // set initialized to TRUE, because the value of initialized may still be checked on SS_NO_INIT subsystems as an "is this ready" check return current_initializing_subsystem = subsystem