From: Mario Date: Sun, 10 Jul 2016 07:42:20 +0000 (+1000) Subject: Don't show player nametags to everyone before match has started X-Git-Tag: xonotic-v0.8.2~700^2~88 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c64df22b635511ae2f1d12fd0f2f2a81315a83a6;p=xonotic%2Fxonotic-data.pk3dir.git Don't show player nametags to everyone before match has started --- diff --git a/qcsrc/common/ent_cs.qc b/qcsrc/common/ent_cs.qc index cafef4868..e69998563 100644 --- a/qcsrc/common/ent_cs.qc +++ b/qcsrc/common/ent_cs.qc @@ -61,8 +61,9 @@ sf |= this.m_forceupdate; this.m_forceupdate = 0; bool valid = - IS_PLAYER(player) // player must be active - || player == to // player is self + time > game_starttime + && (IS_PLAYER(player) // player must be active + || player == to) // player is self ; if (!valid) sf = 0; if (chan == MSG_ENTITY)