From 80d9dd7119b6ee4bcab135fdb1ae64c998730804 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 0c85b980278..82e2881f255 100644 --- a/code/controllers/master.dm +++ b/code/controllers/master.dm @@ -487,7 +487,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