fix bug 56

This commit is contained in:
Jimmy Cao 2011-08-22 16:25:46 -05:00
parent 446f62f6b8
commit 888c509fe3

View File

@ -1092,8 +1092,9 @@ def leave(cli, what, nick, why=""):
return
if var.PHASE == "none":
return
if nick not in var.list_players():
if nick not in var.list_players() or nick in var.DISCONNECTED.keys():
return
# the player who just quit was in the game
killhim = True