]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/invasion/cl_invasion.qc
Hide the item stats panel in CTS, Race, Nexball and Invasion (items serve little...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / invasion / cl_invasion.qc
diff --git a/qcsrc/common/gamemodes/gamemode/invasion/cl_invasion.qc b/qcsrc/common/gamemodes/gamemode/invasion/cl_invasion.qc
new file mode 100644 (file)
index 0000000..e7dc879
--- /dev/null
@@ -0,0 +1,10 @@
+#include "cl_invasion.qh"
+
+#include <common/mutators/base.qh>
+
+REGISTER_MUTATOR(cl_inv, true);
+
+MUTATOR_HOOKFUNCTION(cl_inv, DrawScoreboardItemStats)
+{
+       return ISGAMETYPE(INVASION); // hide the item stats panel
+}