aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2023-10-18 19:34:47 +0100
committerGitHub <noreply@github.com>2023-10-18 20:34:47 +0200
commitd84d875347b54e87dfada23f516f89cf507be610 (patch)
tree19752a4aa9cdf680425904c9895fd818621ceac4
parentaa79ad4b924d838904169b4e251c27c5f09557db (diff)
downloadNorthstarMods-1.19.9-rc3.tar.gz
NorthstarMods-1.19.9-rc3.zip
Stop logging invalid map/mode exception in progression (#750)v1.19.9-rc3v1.19.9
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 <40122905+GeckoEidechse@users.noreply.github.com>
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut
index dbfcea61..63841f7a 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut
@@ -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
}
}