From: Ant Zucaro Date: Sat, 26 Jan 2013 14:38:21 +0000 (-0500) Subject: Add assault support to the scoreboard X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonstat.git;a=commitdiff_plain;h=00044a57e3d8b8e8111ec4349b573485310d85c7 Add assault support to the scoreboard --- diff --git a/xonstat/templates/scoreboard.mako b/xonstat/templates/scoreboard.mako index 00c9185..e8a6c3c 100644 --- a/xonstat/templates/scoreboard.mako +++ b/xonstat/templates/scoreboard.mako @@ -38,6 +38,25 @@ ${scoreboard_header(game_type_cd, pgstats[0])} ##### SCOREBOARD HEADER ##### <%def name="scoreboard_header(game_type_cd, pgstat)"> +% if game_type_cd == 'as': + + + Nick + % if show_latency: + Ping + % endif + Kills + Deaths + Suicides + Objectives + Score + % if show_elo: + Elo Change + % endif + + +% endif + % if game_type_cd == 'dm' or game_type_cd == 'tdm' or game_type_cd == 'duel': @@ -113,6 +132,13 @@ ${scoreboard_header(game_type_cd, pgstats[0])} ##### SCOREBOARD ROWS ##### <%def name="scoreboard_row(game_type_cd, pgstat)"> +% if game_type_cd == 'as': + ${pgstat.kills} + ${pgstat.deaths} + ${pgstat.suicides} + ${pgstat.collects} +% endif + % if game_type_cd == 'dm' or game_type_cd == 'tdm' or game_type_cd == 'duel': ${pgstat.kills} ${pgstat.deaths}