Properly return from pass if a hunter isn't using the command. Fixes #25
This commit is contained in:
parent
88de4eb9b7
commit
6e43f60974
@ -2955,6 +2955,7 @@ def pass_cmd(cli, nick, rest):
|
||||
role = var.get_role(nick)
|
||||
if role != "hunter":
|
||||
pm(cli, nick, "Only a hunter may use this command.")
|
||||
return
|
||||
if var.PHASE != "night":
|
||||
pm(cli, nick, "You may only pass at night.")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user