Skip to content

Commit

Permalink
Disables MPDEBUG if QuickMatch is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Belonit committed Dec 25, 2023
1 parent 4da1f38 commit 98a6d2c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/spawner/load_spawn.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ bool __fastcall Pre_Scenario_Load_Wait()
}
*/

extern bool MPDEBUG;
extern bool MPDEBUG1;
extern bool MPSYNCDEBUG;

signed int Initialize_Spawn()
{
int32_t result;
Expand Down Expand Up @@ -259,6 +263,9 @@ signed int Initialize_Spawn()
SkipScoreScreen =INIClass__GetBool(&INIClass_SPAWN, "Settings", "SkipScoreScreen", SkipScoreScreen);
Tournament = INIClass__GetInt(&INIClass_SPAWN, "Settings", "Tournament", 0);
QuickMatch = INIClass__GetBool(&INIClass_SPAWN, "Settings", "QuickMatch", false);
if (QuickMatch)
MPSYNCDEBUG = MPDEBUG1 = MPDEBUG = false;

RunAutoSS = INIClass__GetBool(&INIClass_SPAWN, "Settings", "RunAutoSS", false);
ConnTimeout = INIClass__GetInt(&INIClass_SPAWN, "Settings", "ConnTimeout", 3600);
ReconnectTimeout=INIClass__GetInt(&INIClass_SPAWN, "Settings", "ReconnectTimeout", 2400);
Expand Down

0 comments on commit 98a6d2c

Please sign in to comment.