diff --git a/Game.py b/Game.py index b47a5a2..d865b36 100644 --- a/Game.py +++ b/Game.py @@ -18,9 +18,7 @@ class Game: async def run(self): await self.is_running.acquire() - input_loop = asyncio.new_event_loop() - await input_loop.run_until_complete(self.input_handler.handleInputs()) - input_loop.close() - + await self.input_handler.handleInputs() + await self.is_running.wait() pass