From fb3e7eb8b6e545aefce8c1d16fbece140dc6561b Mon Sep 17 00:00:00 2001 From: "Vgr E. Barry" Date: Thu, 11 Feb 2016 13:26:23 -0500 Subject: [PATCH] woof --- src/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/settings.py b/src/settings.py index 434d09c..0ed683a 100644 --- a/src/settings.py +++ b/src/settings.py @@ -190,7 +190,7 @@ STASISED_ACCS = defaultdict(int) # TODO: move this to a game mode called "fixed" once we implement a way to randomize roles (and have that game mode be called "random") DEFAULT_ROLE = "villager" -ROLE_INDEX = ( 4 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 15 , 16 , 18 , 20 , 21 , 23 , 24 ) +ROLE_INDEX = ( 4 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 15 , 16 , 18 , 20 , 21 , 23 , 24 ) ROLE_GUIDE = OrderedDict([ # This is order-sensitive - many parts of the code rely on this order! # wolf roles ("wolf" , ( 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 2 , 2 , 2 , 2 , 3 , 3 , 3 )), @@ -401,7 +401,7 @@ def plural(role, count=2): return " ".join(bits) def list_players(roles = None): - if roles == None: + if roles is None: roles = ROLES.keys() pl = set() for x in roles: