]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
document that spectators at match end do not have MATCHES (they do have JOINS 1,...
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 17 Aug 2011 14:21:17 +0000 (16:21 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 17 Aug 2011 14:21:17 +0000 (16:21 +0200)
qcsrc/server/playerstats.qc

index 85899c28b225778f589d758d11b74093da6bee1f..7f20b92454db5084718d1ca79df4a4cef219fb76 100644 (file)
@@ -328,7 +328,7 @@ void PlayerStats_EndMatch(float finished)
 {
        entity p, winner;
     winner = PlayerScore_Sort(score_dummyfield);
-       FOR_EACH_PLAYER(p)
+       FOR_EACH_PLAYER(p) // spectators intentionally not included
        {
                PlayerScore_PlayerStats(p);
                PlayerStats_Accuracy(p);