fix hunter being able to use 'pass' after killing on a previous night (ending night early)
This commit is contained in:
parent
0246698b87
commit
4257de5f76
@ -5486,6 +5486,9 @@ def pass_cmd(cli, nick, chan, rest):
|
||||
if nick in var.OTHER_KILLS.keys():
|
||||
del var.OTHER_KILLS[nick]
|
||||
var.HUNTERS.remove(nick)
|
||||
if nick in var.HUNTERS:
|
||||
pm(cli, nick, "You have already killed someone this game.")
|
||||
return
|
||||
|
||||
pm(cli, nick, "You have decided not to kill anyone tonight.")
|
||||
var.PASSED.add(nick)
|
||||
|
Loading…
x
Reference in New Issue
Block a user