From ecd3f988def2928c07a085bf901461883dd27693 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 8 Jun 2023 17:36:19 +0200 Subject: [PATCH] Survival: don't show personal colors of players joining mid-round in the scoreboard --- 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 94748007e..223aa0787 100644 --- a/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc +++ b/qcsrc/common/gamemodes/gamemode/survival/sv_survival.qc @@ -211,7 +211,7 @@ MUTATOR_HOOKFUNCTION(surv, PlayerPreThink) { entity player = M_ARGV(0, entity); - if(IS_PLAYER(player) || INGAME_JOINED(player)) + if(IS_PLAYER(player) || INGAME(player)) { // 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