From acc7ed04a1f48b2ec9e555dadccaf9f95ec9e986 Mon Sep 17 00:00:00 2001 From: Belonit <54427022+Belonit@users.noreply.github.com> Date: Tue, 5 Mar 2024 14:59:40 +0300 Subject: [PATCH] Fix condition for AllowChat --- src/Spawner/Spawner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Spawner/Spawner.cpp b/src/Spawner/Spawner.cpp index a09b3ad4..0163a93b 100644 --- a/src/Spawner/Spawner.cpp +++ b/src/Spawner/Spawner.cpp @@ -309,7 +309,7 @@ bool Spawner::StartNewScenario(const char* pScenarioName) pSession->GameMode = GameMode::LAN; pSession->CreateConnections(); - if (Main::GetConfig()->AllowChat) + if (Main::GetConfig()->AllowChat == false) { Game::ChatMask[0] = false; Game::ChatMask[1] = false;