From b089a6eee8ab1aff7ce881cb329b6c157cb8709c Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 21 Aug 2016 15:09:14 -0400 Subject: [PATCH] Disable wild child in random role is buggy, needs further testing --- src/gamemodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamemodes.py b/src/gamemodes.py index 67ba9d9..44fdeb0 100644 --- a/src/gamemodes.py +++ b/src/gamemodes.py @@ -581,7 +581,7 @@ class RandomMode(GameMode): wolves = var.WOLF_ROLES - {"wolf cub"} addroles[random.choice(list(wolves))] += 1 # make sure there's at least one wolf role - roles = list(var.ROLE_GUIDE.keys() - var.TEMPLATE_RESTRICTIONS.keys() - {"villager", "cultist", "amnesiac"}) + roles = list(var.ROLE_GUIDE.keys() - var.TEMPLATE_RESTRICTIONS.keys() - {"villager", "cultist", "amnesiac", "wild child"}) while lpl: addroles[random.choice(roles)] += 1 lpl -= 1