From: terencehill Date: Thu, 8 Jun 2023 15:36:19 +0000 (+0200) Subject: Survival: don't show personal colors of players joining mid-round in the scoreboard X-Git-Tag: xonotic-v0.8.6~17^2~1 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=ecd3f988def2928c07a085bf901461883dd27693;p=xonotic%2Fxonotic-data.pk3dir.git Survival: don't show personal colors of players joining mid-round in the scoreboard --- 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