From: Ant Zucaro Date: Mon, 31 Oct 2011 13:31:05 +0000 (-0400) Subject: Do not nick track player #2! X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=65cdac2c3bc18d9a6708cba22ea749fa555da228;p=xonotic%2Fxonstat.git Do not nick track player #2! --- diff --git a/xonstat/views/submission.py b/xonstat/views/submission.py index 90297fa..74466ed 100755 --- a/xonstat/views/submission.py +++ b/xonstat/views/submission.py @@ -319,7 +319,7 @@ def create_player_game_stat(session=None, player=None, # if the nick we end up with is different from the one in the # player record, change the nick to reflect the new value - if pgstat.nick != player.nick and player.player_id > 1: + if pgstat.nick != player.nick and player.player_id > 2: register_new_nick(session, player, pgstat.nick) # if the player is ranked #1 and it is a team game, set the game's winner