]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
send modname also as O:
authorRudolf Polzer <divverent@xonotic.org>
Sun, 19 Feb 2012 16:32:50 +0000 (17:32 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 19 Feb 2012 16:32:50 +0000 (17:32 +0100)
qcsrc/server/playerstats.qc

index 2d04876710daa9a0d9de807d60bd0c6d0f86b822..3533b4882e4b94264cb3dcf4a4c6b3fa1337f9e8 100644 (file)
@@ -179,6 +179,7 @@ void PlayerStats_TeamScore(float t, string event_id, float value) // TODO: doesn
        R: release information on the server
        T: time at which the game ended
        G: game type
+       O: mod name (icon request) as in server browser
        M: map name
        I: match ID (see "matchid" in g_world.qc
        S: "hostname" of the server
@@ -222,6 +223,7 @@ void PlayerStats_ready(entity fh, entity pass, float status)
 #endif
                        url_fputs(fh, sprintf("T %s.%06d\n", strftime(FALSE, "%s"), floor(random() * 1000000)));
                        url_fputs(fh, sprintf("G %s\n", GetGametype()));
+                       url_fputs(fh, sprintf("O %s\n", modname));
                        url_fputs(fh, sprintf("M %s\n", GetMapname()));
                        url_fputs(fh, sprintf("I %s\n", matchid));
                        url_fputs(fh, sprintf("S %s\n", cvar_string("hostname")));