]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Fix bad dereference - pgstats is not a hash in this version.
authorAnt Zucaro <azucaro@gmail.com>
Wed, 25 May 2011 02:28:56 +0000 (22:28 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Wed, 25 May 2011 02:28:56 +0000 (22:28 -0400)
xonstat/templates/scoreboard.mako

index 53a326a1cfee3e0f346ebf895f63c0c0e2327db1..a9d2391abc13d3de6f506b25ee87a8fd87677959 100644 (file)
@@ -15,7 +15,7 @@
         <td>Accuracy</td>
     </tr>
 
-% for pgstat in pgstats[game.game_id]:
+% for pgstat in pgstats:
     <tr>
         <td>
         % if pgstat.player_id > 2:
@@ -57,7 +57,7 @@
         <td>Accuracy</td>
     </tr>
 
-% for pgstat in pgstats[game.game_id]:
+% for pgstat in pgstats:
     <tr>
         <td>
         % if pgstat.player_id > 2: