From: Mario Date: Mon, 13 Jul 2020 19:43:36 +0000 (+1000) Subject: Keep the colour of eliminated players up to date too, fixes hunters not being shown... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=318c6b082b7a634e89edb5967c8f38934eada101;p=xonotic%2Fxonotic-data.pk3dir.git Keep the colour of eliminated players up to date too, fixes hunters not being shown if they died --- 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