From 977d7262b039aa7771fccce01ce3f9846df19e4b Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 22 Jul 2020 03:14:31 +1000 Subject: [PATCH] Maker sure clones don't have a killindicator attached to them already when killing them --- qcsrc/server/clientkill.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/clientkill.qc b/qcsrc/server/clientkill.qc index 08758a065..51b133636 100644 --- a/qcsrc/server/clientkill.qc +++ b/qcsrc/server/clientkill.qc @@ -137,7 +137,7 @@ void ClientKill_TeamChange(entity this, float targetteam) // 0 = don't change, - this.killindicator.count = bound(0, ceil(killtime), 10); //sprint(this, strcat("^1You'll be dead in ", ftos(this.killindicator.cnt), " seconds\n")); - IL_EACH(g_clones, it.enemy == this && !(it.effects & CSQCMODEL_EF_RESPAWNGHOST), + IL_EACH(g_clones, it.enemy == this && !(it.effects & CSQCMODEL_EF_RESPAWNGHOST) && !it.killindicator, { it.killindicator = spawn(); it.killindicator.owner = it; -- 2.39.2