From 02be4bf79fbb30e571d649e9f04599c1730bdb9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Mon, 6 May 2019 21:01:54 +0300 Subject: [PATCH] Whoops --- gameloop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gameloop.py b/gameloop.py index b51df40..a1afd74 100644 --- a/gameloop.py +++ b/gameloop.py @@ -570,6 +570,7 @@ def game(send, notice, voice, devoice, get_event): if len(players) < 2: send('Not enough players to continue, quiting game') + return no_game if czar not in players.values(): send('Czar left the game, restarting round') @@ -691,6 +692,7 @@ def game(send, notice, voice, devoice, get_event): while True: if len(players) < 2: send('Not enough players to continue, quiting game') + return no_game if czar not in players.values(): send('Czar left the game, restarting round')