From: Mircea Kitsune Date: Sat, 6 Oct 2012 11:48:37 +0000 (+0300) Subject: Only show when the player is allowed to spawn, not during rounds in Arena or Clan... X-Git-Tag: xonotic-v0.7.0~198^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=895afff11288d798d6d66f1ec6b5f77fb4e7dae6;p=xonotic%2Fxonotic-data.pk3dir.git Only show when the player is allowed to spawn, not during rounds in Arena or Clan Arena --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 69af148a4..22c2f0d5a 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -2558,7 +2558,11 @@ void PlayerPreThink (void) self.stat_game_starttime = game_starttime; self.stat_allow_oldnexbeam = autocvar_g_allow_oldnexbeam; self.stat_leadlimit = autocvar_leadlimit; - self.stat_respawn_time = self.respawn_time; + + if(allowed_to_spawn) + self.stat_respawn_time = self.respawn_time; + else + self.stat_respawn_time = 0; if(frametime) {