From 9167b4b83d2fcdb164204372ee0e4d7ab6f1b4f1 Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Mon, 9 Jul 2018 20:39:26 -0700 Subject: [PATCH] Make it more likely that lykos picks a voted mode --- src/wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index 5bbb49d..c30bb5a 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -4453,7 +4453,7 @@ def start(cli, nick, chan, forced = False, restart = ""): possiblegamemodes += [gamemode] * num numvotes += num if len(villagers) - numvotes > 0: - possiblegamemodes += [None] * (len(villagers) - numvotes) + possiblegamemodes += [None] * ((len(villagers) - numvotes) / 2) # check if we go with a voted mode or a random mode gamemode = random.choice(possiblegamemodes) if gamemode is None: