]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/cts/cl_cts.qc
Hide the item stats panel in CTS, Race, Nexball and Invasion (items serve little...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / cts / cl_cts.qc
index ee62df152f06143c8e6cb68fd60c1fad24d399a2..ce095bf2032a0e1a63fccaaac1fc0c3840d91148 100644 (file)
@@ -19,6 +19,11 @@ MUTATOR_HOOKFUNCTION(cl_cts, HUD_Score_show)
        return spectatee_status == -1 && ISGAMETYPE(CTS); // hide the score panel while observing
 }
 
+MUTATOR_HOOKFUNCTION(cl_cts, DrawScoreboardItemStats)
+{
+       return ISGAMETYPE(CTS); // hide the item stats panel
+}
+
 MUTATOR_HOOKFUNCTION(cl_cts, DrawDeathScoreboard)
 {
        return ISGAMETYPE(CTS); // no scoreboard shown while dead