From: Pieter-Jan Briers Date: Mon, 23 Sep 2024 23:38:09 +0000 (+0200) Subject: Fix OOC not re-enabling if restartroundnow is used (#32401) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=1450d76337597323f2cac761529024a332afb6a1;p=space-station-14.git 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. --- 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;