This commit is contained in:
Eden Kirin
2023-05-12 20:39:31 +02:00
parent 21a7f111b2
commit afbb3d7436
3 changed files with 12 additions and 14 deletions

View File

@ -179,14 +179,14 @@ class GameEngine:
)
def on_purchase_timer_tick(time_left) -> None:
logging.info(f"Product selection countdown timer tick, time left: {time_left}")
logging.info(
f"Product selection countdown timer tick, time left: {time_left}"
)
def on_purchase_timer_done() -> None:
logging.info("Ding ding! Product selection countdown timer timeout")
self._purchase_countdown_timer = None
asyncio.run(
self.ws_server.send_product_selection_timeout_message()
)
asyncio.run(self.ws_server.send_product_selection_timeout_message())
self.game_state = GameState.RUNNING
asyncio.run(self.send_game_dump())