From 318c6b082b7a634e89edb5967c8f38934eada101 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 14 Jul 2020 05:43:36 +1000 Subject: [PATCH] Keep the colour of eliminated players up to date too, fixes hunters not being shown if they died --- qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc b/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc index 47fcca7a1..aa01fa2b6 100644 --- a/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc +++ b/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc @@ -227,7 +227,7 @@ MUTATOR_HOOKFUNCTION(surv, PlayerPreThink) { entity player = M_ARGV(0, entity); - if(IS_PLAYER(player)) + if(IS_PLAYER(player) || player.caplayer) { // update the scoreboard colour display to out the real killer at the end of the round // running this every frame to avoid cheats -- 2.39.2