]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix some other things
authorSamual Lenks <samual@xonotic.org>
Sun, 1 Dec 2013 03:42:17 +0000 (22:42 -0500)
committerSamual Lenks <samual@xonotic.org>
Sun, 1 Dec 2013 03:42:17 +0000 (22:42 -0500)
qcsrc/common/playerstats.qc
qcsrc/common/playerstats.qh
qcsrc/server/scores.qh

index e605b858d06ec20477d51d0d15b07434e4d6aeda..cfb6aab210bc86e93e54a511e1f8cf14ad332694 100644 (file)
@@ -175,7 +175,6 @@ void PlayerStats_GameReport_FinalizePlayer(entity p)
        p.playerstats_id = string_null;
 }
 
-.float scoreboard_pos;
 void PlayerStats_GameReport_EndMatch(float finished)
 {
        if(PS_GR_OUT_DB < 0) { return; }
index ba81ab754efd05c0cff303bd3dc1a2983d64df45..b0a442d7278c304c3240e46fd51117c6fe1a7e48 100644 (file)
@@ -44,9 +44,6 @@ void PlayerStats_GameReport_AddEvent(string event_id);
 #define PS_GR_T_ADDVAL(team,eventid,val) PlayerStats_GameReport_Event(sprintf("team#%d", team), eventid, val)
 float PlayerStats_GameReport_Event(string prefix, string event_id, float value);
 
-// call at game over
-void PlayerStats_GameReport_Shutdown(); // send stats to the server
-
 void PlayerStats_GameReport_Accuracy(entity p);
 
 // call this whenever a player leaves
index 5960b9f427fc3a459550dd0585fd8eacee686134..c26a4d295ea78cc9ab977d447f336ce7dbcd424f 100644 (file)
@@ -1,6 +1,7 @@
 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.