]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/views/map.py
Don't pre-fill the "recent games" section with hyphens.
[xonotic/xonstat.git] / xonstat / views / map.py
index ee149a1ef5d0095b99fdee4495872c624b00b8a4..6ecbf371760dfa6c1adce920a5468b0cab46835f 100644 (file)
@@ -145,9 +145,6 @@ def map_info(request):
     leaderboard_count = 10
     recent_games_count = 20
 
-    for i in range(recent_games_count-len(mapinfo_data['recent_games'])):
-        mapinfo_data['recent_games'].append(('-', '-', '-', '-'))
-
     for i in range(leaderboard_count-len(mapinfo_data['top_scorers'])):
         mapinfo_data['top_scorers'].append(('-', '-', '-'))