]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Bump the format version up for playerstats-- this way we can differentiate
authorSamual Lenks <samual@xonotic.org>
Fri, 7 Sep 2012 03:07:58 +0000 (23:07 -0400)
committerSamual Lenks <samual@xonotic.org>
Fri, 7 Sep 2012 03:07:58 +0000 (23:07 -0400)
between old servers which still have the bug with accuracy and new servers
which report accuracy properly.

qcsrc/server/playerstats.qc

index b2b2750a7aa7eb78bae0ed13f1b09ce2fa86ff17..a83c5772f5fc9ebefdf31225443ad3a7a8934faf 100644 (file)
@@ -174,7 +174,7 @@ void PlayerStats_TeamScore(float t, string event_id, float value) // TODO: doesn
 
        The following keys are defined:
 
-       V: format version (always 1) - this MUST be the first line!
+       V: format version (always a fixed number) - this MUST be the first line!
        #: comment (MUST be ignored by any parser)
        R: release information on the server
        T: time at which the game ended
@@ -236,7 +236,7 @@ void PlayerStats_ready(entity fh, entity pass, float status)
        switch(status)
        {
                case URL_READY_CANWRITE:
-                       url_fputs(fh, "V 1\n");
+                       url_fputs(fh, "V 2\n");
 #ifdef WATERMARK
                        url_fputs(fh, sprintf("R %s\n", WATERMARK()));
 #endif