]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Do not nick track player #2!
authorAnt Zucaro <azucaro@gmail.com>
Mon, 31 Oct 2011 13:31:05 +0000 (09:31 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 31 Oct 2011 13:31:05 +0000 (09:31 -0400)
xonstat/views/submission.py

index 90297fa9e9da58f73b722b6b95740608f84e74e0..74466edb4ebfcdb13787294c672ac2d4cf066d05 100755 (executable)
@@ -319,7 +319,7 @@ def create_player_game_stat(session=None, player=None,
 \r
     # if the nick we end up with is different from the one in the\r
     # player record, change the nick to reflect the new value\r
-    if pgstat.nick != player.nick and player.player_id > 1:\r
+    if pgstat.nick != player.nick and player.player_id > 2:\r
         register_new_nick(session, player, pgstat.nick)\r
 \r
     # if the player is ranked #1 and it is a team game, set the game's winner\r