From f69d522a45bfe4fedb97ff7c29d3e4211db97bd0 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sat, 26 Jan 2013 22:26:57 -0500 Subject: [PATCH] Add keepaway support to the scoreboard. --- xonstat/templates/scoreboard.mako | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/xonstat/templates/scoreboard.mako b/xonstat/templates/scoreboard.mako index ced8154..c26cec6 100644 --- a/xonstat/templates/scoreboard.mako +++ b/xonstat/templates/scoreboard.mako @@ -165,6 +165,26 @@ ${scoreboard_header(game_type_cd, pgstats[0])} % endif + +% if game_type_cd in 'ka' 'keepaway': + + + Nick + % if show_latency: + Ping + % endif + Kills + Deaths + Pickups + BC Time + BC Kills + % if show_elo: + Elo Change + % endif + + +% endif + ##### SCOREBOARD ROWS ##### @@ -214,4 +234,13 @@ ${scoreboard_header(game_type_cd, pgstats[0])} ${pgstat.deaths} ${pgstat.revivals} % endif + +% if game_type_cd in 'ka' 'keepaway': + ${pgstat.kills} + ${pgstat.deaths} + ${pgstat.pickups} + ${pgstat.time} + ${pgstat.fckills} +% endif + -- 2.39.2