Update game_manager.py
Browse files- game_manager.py +2 -2
game_manager.py
CHANGED
@@ -187,7 +187,7 @@ def game_thread():
|
|
187 |
game.ai_response_index = game.response_list.index(ai_answer)
|
188 |
game.update()
|
189 |
|
190 |
-
|
191 |
if out_of_time or all(
|
192 |
val == "Voted" for val in game.player_status.values()
|
193 |
):
|
@@ -202,7 +202,7 @@ def game_thread():
|
|
202 |
game.player_scores[guess] += GUESSED_AS_AI_PTS
|
203 |
game.update()
|
204 |
|
205 |
-
|
206 |
if out_of_time:
|
207 |
game.stage = "START"
|
208 |
game.prompts_completed += 1
|
|
|
187 |
game.ai_response_index = game.response_list.index(ai_answer)
|
188 |
game.update()
|
189 |
|
190 |
+
elif game.stage == "COLLECTING_VOTES":
|
191 |
if out_of_time or all(
|
192 |
val == "Voted" for val in game.player_status.values()
|
193 |
):
|
|
|
202 |
game.player_scores[guess] += GUESSED_AS_AI_PTS
|
203 |
game.update()
|
204 |
|
205 |
+
elif game.stage == "REVEALING":
|
206 |
if out_of_time:
|
207 |
game.stage = "START"
|
208 |
game.prompts_completed += 1
|