X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fscores_rules.qc;h=64c94001fbc5bcd9ab42caffd6d8c86604368a32;hp=2b539c999668bbcc5acca5304ef53100f7e37285;hb=c3f4bfe02b1f024b183210717a4da3f84ddc0079;hpb=98b2c4213abe04f3ec96a95471ba5fe5fe57e008 diff --git a/qcsrc/server/scores_rules.qc b/qcsrc/server/scores_rules.qc index 2b539c999..64c94001f 100644 --- a/qcsrc/server/scores_rules.qc +++ b/qcsrc/server/scores_rules.qc @@ -5,6 +5,7 @@ #include "client.qh" #include "scores.qh" #include +#include "teamplay.qh" int ScoreRules_teams; @@ -43,7 +44,10 @@ void ScoreRules_basics(int teams, float sprio, float stprio, float score_enabled ScoreInfo_SetLabel_PlayerScore(SP_DEATHS, "deaths", SFL_LOWER_IS_BETTER); if (!INDEPENDENT_PLAYERS) + { ScoreInfo_SetLabel_PlayerScore(SP_SUICIDES, "suicides", SFL_LOWER_IS_BETTER); + ScoreInfo_SetLabel_PlayerScore(SP_TEAMKILLS, "teamkills", SFL_LOWER_IS_BETTER); + } if(score_enabled) ScoreInfo_SetLabel_PlayerScore(SP_SCORE, "score", sprio); @@ -51,6 +55,9 @@ void ScoreRules_basics(int teams, float sprio, float stprio, float score_enabled ScoreInfo_SetLabel_PlayerScore(SP_DMG, "dmg", 0); ScoreInfo_SetLabel_PlayerScore(SP_DMGTAKEN, "dmgtaken", SFL_LOWER_IS_BETTER); ScoreInfo_SetLabel_PlayerScore(SP_ELO, "elo", 0); + + if(STAT(SHOWFPS)) + ScoreInfo_SetLabel_PlayerScore(SP_FPS, "fps", 0); } void ScoreRules_basics_end() {