]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/scores.qh
Remove for-loop workaround
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / scores.qh
index 5960b9f427fc3a459550dd0585fd8eacee686134..ff0555cad6cf4d24a27dc9089a327d45dc9bed97 100644 (file)
@@ -1,6 +1,10 @@
+#ifndef SCORES_H
+#define SCORES_H
+
 entity scores_initialized; // non-world when scores labels/rules have been set
 .float scores[MAX_SCORE];
 .float teamscores[MAX_TEAMSCORE];
+.float scoreboard_pos;
 
 /**
  * Attaches a PlayerScore entity to a player. Use that in ClientConnect.
@@ -123,3 +127,4 @@ string GetTeamScoreString(float tm, float shortString);
  * nospectators: exclude spectators
  */
 entity PlayerScore_Sort(.float field, float teams, float strict, float nospectators);
+#endif