Skip to content

Commit

Permalink
Stop logging invalid map/mode exception in progression (#750)
Browse files Browse the repository at this point in the history
Some game modes like Gun Game or Infection are not considered valid yet, causing the warning message to be spammed in the logs.

Necessary work should be done to add the modes to the list of valid modes. Until we will just comment out the print statement in order to prevent log spam.

Co-authored-by: GeckoEidechse <[email protected]>
  • Loading branch information
ASpoonPlaysGames and GeckoEidechse authored Oct 18, 2023
1 parent aa79ad4 commit d84d875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ void function Stats_IncrementStat( entity player, string statCategory, string st
// persistence string, we can't save the persistence so we have to just return
if ( str != saveVar )
{
printt( ex )
//printt( ex, str, GetMapName(), mode ) // Commented out due to spamming logs on invalid modes (e.g. Gun Game, Infection, ...)
return
}
}
Expand Down

0 comments on commit d84d875

Please sign in to comment.