Skip to content

Commit

Permalink
Fix condition for AllowChat
Browse files Browse the repository at this point in the history
  • Loading branch information
Belonit committed Mar 5, 2024
1 parent d6d43b9 commit acc7ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Spawner/Spawner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit acc7ed0

Please sign in to comment.