]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
add a "match ID" (I line)
authorRudolf Polzer <divVerent@xonotic.org>
Tue, 16 Aug 2011 12:24:22 +0000 (14:24 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 16 Aug 2011 12:24:22 +0000 (14:24 +0200)
qcsrc/server/playerstats.qc

index ea6956f79cb856eaffbb97de8648243981359858..402930f89bc1c4c939fbd60b30260a37b8c2712c 100644 (file)
@@ -226,6 +226,7 @@ void PlayerStats_Shutdown()
                bufstr_set(b, i++, sprintf("T %s.%06d", strftime(FALSE, "%s"), floor(random() * 1000000)));
                bufstr_set(b, i++, sprintf("G %s", GetGametype()));
                bufstr_set(b, i++, sprintf("M %s", GetMapname()));
+               bufstr_set(b, i++, sprintf("I %s", matchid));
                bufstr_set(b, i++, sprintf("S %s", cvar_string("hostname")));
                bufstr_set(b, i++, sprintf("C %d", cvar_purechanges_count));
         for(p = playerstats_last; (pn = db_get(playerstats_db, sprintf("%s:*", p))) != ""; p = pn)