Skip to content

Commit acc7ed0

Browse files
committed
Fix condition for AllowChat
1 parent d6d43b9 commit acc7ed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spawner/Spawner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ bool Spawner::StartNewScenario(const char* pScenarioName)
309309
pSession->GameMode = GameMode::LAN;
310310
pSession->CreateConnections();
311311

312-
if (Main::GetConfig()->AllowChat)
312+
if (Main::GetConfig()->AllowChat == false)
313313
{
314314
Game::ChatMask[0] = false;
315315
Game::ChatMask[1] = false;

0 commit comments

Comments
 (0)