]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/playerstats.qc
Properly set serverflags's flags
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / playerstats.qc
index e83305886cee1522ddbb5b8db4c11388ee59e0e7..17c76461fd3516a72b5355a39f906846cfe9f205 100644 (file)
@@ -278,6 +278,9 @@ void PlayerStats_GameReport(bool finished)
 
 void PlayerStats_GameReport_Init() // initiated before InitGameplayMode so that scores are added properly
 {
+       serverflags &= ~SERVERFLAG_PLAYERSTATS;
+       serverflags &= ~SERVERFLAG_PLAYERSTATS_CUSTOM;
+
        if(autocvar_g_playerstats_gamereport_uri == "") { return; }
 
        PS_GR_OUT_DB = db_create();