fixed a bug that happens if all the wolves/seers don't act at all in a large game
This commit is contained in:
parent
3fcab67036
commit
20d00de1db
@ -909,9 +909,8 @@ def transition_day(cli, gameid=0):
|
|||||||
"were both found dead in their beds.").format(var.ROLES["wolf"][0],
|
"were both found dead in their beds.").format(var.ROLES["wolf"][0],
|
||||||
var.ROLES["seer"][0]))
|
var.ROLES["seer"][0]))
|
||||||
for x in (var.ROLES["wolf"][0],var.ROLES["seer"][0]):
|
for x in (var.ROLES["wolf"][0],var.ROLES["seer"][0]):
|
||||||
del_player(cli, x, True) # kill them.
|
if not del_player(cli, x, True):
|
||||||
chk_win(cli) # force to end
|
return
|
||||||
return
|
|
||||||
|
|
||||||
# Reset daytime variables
|
# Reset daytime variables
|
||||||
var.VOTES = {}
|
var.VOTES = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user