]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove damage dealt, damage taken and ELO scoreinfo labels and therefore scoreboard...
authorDr. Jaska <drjaska83@gmail.com>
Tue, 24 Jan 2023 17:59:47 +0000 (17:59 +0000)
committerterencehill <piuntn@gmail.com>
Tue, 24 Jan 2023 17:59:47 +0000 (17:59 +0000)
qcsrc/server/scores_rules.qc

index c1b7f4c5689a13b877641ae9b7ea252a22089fd5..95f8b482edd65e2fdcf42903658399791cd4ed0f 100644 (file)
@@ -50,10 +50,14 @@ void ScoreRules_basics(int teams, float sprio, float stprio, float score_enabled
        if(score_enabled)
                ScoreInfo_SetLabel_PlayerScore(SP_SCORE, "score", sprio);
 
-       ScoreInfo_SetLabel_PlayerScore(SP_DMG, "dmg", 0);
-       ScoreInfo_SetLabel_PlayerScore(SP_DMGTAKEN, "dmgtaken", SFL_LOWER_IS_BETTER);
+       if (!INDEPENDENT_PLAYERS)
+       {
+               ScoreInfo_SetLabel_PlayerScore(SP_DMG, "dmg", 0);
+               ScoreInfo_SetLabel_PlayerScore(SP_DMGTAKEN, "dmgtaken", SFL_LOWER_IS_BETTER);
+
+               ScoreInfo_SetLabel_PlayerScore(SP_ELO, "elo", SFL_NOT_SORTABLE);
+       }
 
-       ScoreInfo_SetLabel_PlayerScore(SP_ELO, "elo", SFL_NOT_SORTABLE);
        if(STAT(SHOWFPS))
                ScoreInfo_SetLabel_PlayerScore(SP_FPS, "fps", SFL_NOT_SORTABLE);
 }