]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix playerstats writing to stdout or files
authorRudolf Polzer <divverent@xonotic.org>
Mon, 3 Oct 2011 16:54:06 +0000 (18:54 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 3 Oct 2011 16:54:06 +0000 (18:54 +0200)
qcsrc/server/playerstats.qc

index a4f48a525ed970611a2f53de04759ea169d0b0b9..a15c2b1341588b896c2beae564c3dcbe0ea4fa10 100644 (file)
@@ -277,8 +277,8 @@ void PlayerStats_Shutdown()
        uri = autocvar_g_playerstats_uri;
        if(uri != "")
        {
-               url_fopen(uri, FILE_APPEND, PlayerStats_ready, world);
                playerstats_waitforme = FALSE;
+               url_fopen(uri, FILE_APPEND, PlayerStats_ready, world);
        }
        else
        {