fix nick derp

This commit is contained in:
skizzerz 2015-10-30 20:30:47 -05:00
parent e60a32d400
commit a9375e5157

View File

@ -413,6 +413,7 @@ def reset():
var.GAMEMODE_VOTES = {} #list of players who have used !game
var.START_VOTES = set() # list of players who have voted to !start
var.LOVERS = {} # need to be here for purposes of random
var.ENTRANCED = set()
reset_settings()
@ -3455,6 +3456,7 @@ def return_to_village(cli, chan, nick, show_message):
def rename_player(cli, prefix, nick):
chan = botconfig.CHANNEL
if var.PHASE in ("night", "day"):
if prefix in var.ENTRANCED: # need to update this after death, too
var.ENTRANCED.remove(prefix)
var.ENTRANCED.add(nick)