]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Remove joins from player stat creation requirements.
authorAnt Zucaro <azucaro@gmail.com>
Mon, 3 Oct 2011 16:01:46 +0000 (12:01 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 3 Oct 2011 16:01:46 +0000 (12:01 -0400)
xonstat/views/submission.py

index 413fedea1763bdf05bafd9b1c45156385aa588cd..847a6437980667ffba2a14903072890da94c4d58 100755 (executable)
@@ -301,8 +301,8 @@ def create_player_stats(session=None, player=None, game=None,
     """\r
     Creates player game and weapon stats according to what type of player\r
     """\r
-    if 'joins' in player_events and 'matches' in player_events\\r
-            and 'scoreboardvalid' in player_events:\r
+    # remove 'joins' from here even though it should be required\r
+    if 'matches' in player_events and 'scoreboardvalid' in player_events:\r
                 pgstat = create_player_game_stat(session=session, \r
                         player=player, game=game, player_events=player_events)\r
 \r