From 1450d76337597323f2cac761529024a332afb6a1 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Tue, 24 Sep 2024 01:38:09 +0200 Subject: [PATCH] Fix OOC not re-enabling if restartroundnow is used (#32401) The ChatSystem code for re-enabling OOC only ran during PostRound, which gets skipped over when doing restartroundnow. Now it does this on PreRoundLobby too. --- Content.Server/Chat/Systems/ChatSystem.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Server/Chat/Systems/ChatSystem.cs b/Content.Server/Chat/Systems/ChatSystem.cs index bcbc6a6144..fb84c785d2 100644 --- a/Content.Server/Chat/Systems/ChatSystem.cs +++ b/Content.Server/Chat/Systems/ChatSystem.cs @@ -122,6 +122,7 @@ public sealed partial class ChatSystem : SharedChatSystem _configurationManager.SetCVar(CCVars.OocEnabled, false); break; case GameRunLevel.PostRound: + case GameRunLevel.PreRoundLobby: if (!_configurationManager.GetCVar(CCVars.OocEnableDuringRound)) _configurationManager.SetCVar(CCVars.OocEnabled, true); break; -- 2.51.2