Fix wolf retract
This commit is contained in:
parent
5cf86473e6
commit
9f5b30aa95
@ -2387,7 +2387,7 @@ def wolfretract(cli, nick, rest):
|
|||||||
return
|
return
|
||||||
|
|
||||||
role = var.get_role(nick)
|
role = var.get_role(nick)
|
||||||
if role not in ("wolf", "werecrow", "hunter") or nick not in var.VENGEFUL_GHOSTS.keys():
|
if role not in ("wolf", "werecrow", "hunter") and nick not in var.VENGEFUL_GHOSTS.keys():
|
||||||
return
|
return
|
||||||
if var.PHASE != "night":
|
if var.PHASE != "night":
|
||||||
pm(cli, nick, "You may only retract at night.")
|
pm(cli, nick, "You may only retract at night.")
|
||||||
|
Loading…
Reference in New Issue
Block a user