]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/race/cl_race.qc
Add a mutator hook to hide the accuracy panel in the scoreboard
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / race / cl_race.qc
index 820d7cc3fc93d1ac4d5acd519f0bb59faac2afa8..e8b5516d04cb5cfa9c42a286d576861e30e9dfeb 100644 (file)
@@ -166,3 +166,8 @@ MUTATOR_HOOKFUNCTION(cl_race, ShowRankings)
                return true;
        }
 }
+
+MUTATOR_HOOKFUNCTION(cl_race, DrawScoreboardAccuracy)
+{
+       return ISGAMETYPE(RACE); // accuracy is not a factor in this gamemode
+}