From: Ant Zucaro Date: Sat, 26 Jan 2013 14:52:09 +0000 (-0500) Subject: Add CA support to the scoreboard. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dd5c801882eb49f580996e34cb287e5c993541e8;p=xonotic%2Fxonstat.git Add CA support to the scoreboard. --- diff --git a/xonstat/templates/scoreboard.mako b/xonstat/templates/scoreboard.mako index e8a6c3c..58f00eb 100644 --- a/xonstat/templates/scoreboard.mako +++ b/xonstat/templates/scoreboard.mako @@ -57,7 +57,7 @@ ${scoreboard_header(game_type_cd, pgstats[0])} % endif -% if game_type_cd == 'dm' or game_type_cd == 'tdm' or game_type_cd == 'duel': +% if game_type_cd in 'ca' 'dm' 'duel' 'tdm': Nick @@ -95,22 +95,6 @@ ${scoreboard_header(game_type_cd, pgstats[0])} % endif -% if game_type_cd == 'ca': - - - Nick - % if show_latency: - Ping - % endif - Kills - Score - % if show_elo: - Elo Change - % endif - - -% endif - % if game_type_cd == 'freezetag': @@ -139,7 +123,7 @@ ${scoreboard_header(game_type_cd, pgstats[0])} ${pgstat.collects} % endif -% if game_type_cd == 'dm' or game_type_cd == 'tdm' or game_type_cd == 'duel': +% if game_type_cd in 'ca' 'dm' 'duel' 'tdm': ${pgstat.kills} ${pgstat.deaths} ${pgstat.suicides} @@ -153,10 +137,6 @@ ${scoreboard_header(game_type_cd, pgstats[0])} ${pgstat.returns} % endif -% if game_type_cd == 'ca': - ${pgstat.kills} -% endif - % if game_type_cd == 'freezetag': ${pgstat.kills} ${pgstat.deaths}