]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/cts/cl_cts.qc
Add a mutator hook to hide the accuracy panel in the scoreboard
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / cts / cl_cts.qc
index f85035d81d0e02928921eac008e072d411cf7e9c..194461054e2303ee8e04a89a7ad2ad639a92c9c9 100644 (file)
@@ -17,6 +17,11 @@ MUTATOR_HOOKFUNCTION(cl_cts, DrawDeathScoreboard)
        return ISGAMETYPE(CTS); // no scoreboard shown while dead
 }
 
+MUTATOR_HOOKFUNCTION(cl_cts, DrawScoreboardAccuracy)
+{
+       return ISGAMETYPE(CTS); // accuracy is not a factor in this gamemode
+}
+
 MUTATOR_HOOKFUNCTION(cl_cts, ShowRankings)
 {
        if(ISGAMETYPE(CTS))