This commit is contained in:
Jonas Zeunert
2022-08-31 17:45:39 +02:00
parent 1fac6b38ce
commit 71fb36742a

View File

@@ -44,10 +44,12 @@ class GameState:
logging.info("Game ended")
def startIdleLoop(self):
logging.info("Starting Idle Loop")
asyncio.run(self.idleLoop())
pass
def stopIdleLoop(self):
logging.info("Stopping Idle Loop")
self.isIdle.set()
self.deactivate_all()
pass