fix mudkip again

This commit is contained in:
jacob1 2017-12-26 19:42:24 -05:00
parent 7ba8290ece
commit 8ed4b37633

View File

@ -1427,8 +1427,12 @@ class MudkipMode(GameMode):
# we need to ensure we don't turn into nighttime prematurely or try to vote # we need to ensure we don't turn into nighttime prematurely or try to vote
# anyone other than the person we're forcing the lynch on # anyone other than the person we're forcing the lynch on
evt.data["transition_night"] = lambda cli: None evt.data["transition_night"] = lambda cli: None
if force:
evt.data["votelist"] = {force: set()} evt.data["votelist"] = {force: set()}
evt.data["numvotes"] = {force: 0} evt.data["numvotes"] = {force: 0}
else:
evt.data["votelist"] = {}
evt.data["numvotes"] = {}
return return
avail = len(evt.params.voters) avail = len(evt.params.voters)