Browse Source

small fix to make it display the wolf first during the role-revealing after game ends

master
jcao219 14 years ago
parent
commit
b2a7587af4
  1. 5
      wolfgame.py

5
wolfgame.py

@ -559,7 +559,10 @@ def chk_win(cli): @@ -559,7 +559,10 @@ def chk_win(cli):
roles_msg = []
var.ORIGINAL_ROLES["cursed villager"] = var.CURSED
for role in var.ORIGINAL_ROLES.keys():
lroles = list(var.ORIGINAL_ROLES.keys())
lroles.remove("wolf")
lroles.insert(0, "wolf") # picky, howl consistency
for role in lroles:
if len(var.ORIGINAL_ROLES[role]) == 0 or role == "villager":
continue
elif len(var.ORIGINAL_ROLES[role]) == 2:

Loading…
Cancel
Save