]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/cts/sv_cts.qc
Merge branch 'drjaska/ctsdamagestats' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / cts / sv_cts.qc
index 3e7c4159cf257baa0f6dbb411e2b337ca30a89e5..56de4a90cf86d9912b532331bfb7ce622996b2e8 100644 (file)
@@ -237,9 +237,7 @@ MUTATOR_HOOKFUNCTION(cts, PutClientInServer)
 
 MUTATOR_HOOKFUNCTION(cts, PlayerDamaged)
 {
-       int frag_deathtype = M_ARGV(5, int);
-       if (frag_deathtype == DEATH_KILL.m_id)
-               return true; // forbid logging damage
+       return true; // forbid logging damage
 }
 
 MUTATOR_HOOKFUNCTION(cts, PlayerDies)