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.
This commit is contained in:
committed by
GitHub
parent
594aad0fa9
commit
1450d76337
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user