]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't show player nametags to everyone before match has started
authorMario <mario@smbclan.net>
Sun, 10 Jul 2016 07:42:20 +0000 (17:42 +1000)
committerMario <mario@smbclan.net>
Sun, 10 Jul 2016 07:42:20 +0000 (17:42 +1000)
qcsrc/common/ent_cs.qc

index cafef4868b540cd274de8d2f253fd113a6d43623..e69998563d281f1f49f344bd361e7b6e146c2c95 100644 (file)
@@ -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)