Browse Source

fix bug 56

master
jcao219 13 years ago
parent
commit
b957f9922a
  1. 3
      wolfgame.py

3
wolfgame.py

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

Loading…
Cancel
Save