fixed a bug where wolfbot crashes (from implementing the auto-game-over when seer/wolf are idle first round)
This commit is contained in:
parent
d1d05c1eb6
commit
2912b23056
@ -874,6 +874,7 @@ def transition_day(cli, gameid=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) # kill them.
|
del_player(cli, x) # kill them.
|
||||||
chk_win(cli) # force to end
|
chk_win(cli) # force to end
|
||||||
|
return
|
||||||
|
|
||||||
# Reset daytime variables
|
# Reset daytime variables
|
||||||
var.VOTES = {}
|
var.VOTES = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user