Fix villagergame to actually make nobody win if they fail

This commit is contained in:
Ryan Schmidt 2016-04-06 09:24:55 -07:00
parent 63e6c7eab5
commit 949fe168bf

View File

@ -190,7 +190,7 @@ class VillagergameMode(GameMode):
# Note: not implemented here since that needs to work in default too
pc = len(var.ALL_PLAYERS)
if (pc >= 8 and lpl <= 4) or lpl <= 2:
evt.data["winner"] = "none"
evt.data["winner"] = ""
evt.data["message"] = messages["villagergame_lose"].format(botconfig.CMD_CHAR, botconfig.NICK)
else:
evt.data["winner"] = None