]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/client.qc
Don't play the teamkill sound at the beginning of the next round if a player was...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / client.qc
index ea2a62977a331981e2d98809bab83a40a35bd2c8..2c687286b7e503ee6b873708d21173bbeaed97eb 100644 (file)
@@ -2712,6 +2712,9 @@ void PlayerPostThink (entity this)
                this.solid = SOLID_NOT;
                this.takedamage = DAMAGE_NO;
                set_movetype(this, MOVETYPE_NONE);
+               CS(this).teamkill_complain = 0;
+               CS(this).teamkill_soundtime = 0;
+               CS(this).teamkill_soundsource = NULL;
        }
 
        if (IS_PLAYER(this)) {