]> git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Pass ALL weapon stats to the accuracy def, not just five.
authorantzucaro <azucaro@gmail.com>
Sun, 20 Nov 2011 19:25:48 +0000 (14:25 -0500)
committerantzucaro <azucaro@gmail.com>
Sun, 20 Nov 2011 19:25:48 +0000 (14:25 -0500)
xonstat/templates/game_info.mako

index c8e54f4d0d9fc7601af98f0053f3ebf3d773ce77..a397bcbeff141da4cb20a36b32c7a61b9de904da 100755 (executable)
@@ -29,7 +29,7 @@ ${scoreboard(game.game_type_cd, pgstats)}
 % for pgstat in pgstats:
 % if pgstat.player_game_stat_id in pwstats:
 Accuracy for <a href="${request.route_url('player_info', id=pgstat.player_id)}" title="Go to the player detail page for this player">${pgstat.nick_html_colors()|n}</a>:
-${accuracy(pwstats[pgstat.player_game_stat_id][0:5])}
+${accuracy(pwstats[pgstat.player_game_stat_id])}
 <br />
 <br />
 % endif