This commit is contained in:
Jonas Zeunert
2022-08-30 18:09:42 +02:00
parent 808c9bbd28
commit f6c1fcc1f7
4 changed files with 15 additions and 6 deletions

View File

@@ -22,6 +22,7 @@ class StartGameEvent(Event):
def restart_timer(self):
if self.timer is not None:
self.timer.cancel()
self.timer = Timer(interval=config.PLAYER_CHOOSE_INTERVAL, function=self.player_choose_ended)
self.timer.start()