]> git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/views/submission.py
fastest_cap -> fastest
[xonotic/xonstat.git] / xonstat / views / submission.py
index 78a85a8e029875349c991516367fe6fc9103d4dd..9e1a6a90b5d5729f8ff71bcf4edb6df81e7bdd1e 100644 (file)
@@ -633,10 +633,10 @@ def create_game_stat(session, game_meta, game, server, gmap, player, events):
 \r
         if key == 'avglatency': pgstat.avg_latency = float(value)\r
         if key == 'scoreboard-captime':\r
-            pgstat.fastest_cap = datetime.timedelta(seconds=float(value)/100)\r
+            pgstat.fastest = datetime.timedelta(seconds=float(value)/100)\r
             if game.game_type_cd == 'ctf':\r
                 update_fastest_cap(session, player.player_id, game.game_id,\r
-                        gmap.map_id, pgstat.fastest_cap)\r
+                        gmap.map_id, pgstat.fastest)\r
 \r
     # there is no "winning team" field, so we have to derive it\r
     if wins and pgstat.team is not None and game.winner is None:\r