From 72bfc73c0c6fa75dfa64fc200002b36fa71ed19b Mon Sep 17 00:00:00 2001 From: Jonas Zeunert Date: Wed, 11 Mar 2020 22:06:30 +0100 Subject: [PATCH] so? --- Game.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Game.py b/Game.py index 776e16e..87d0a64 100644 --- a/Game.py +++ b/Game.py @@ -16,8 +16,8 @@ class Game: self.is_running.release() async def run(self): - self.is_running.acquire() - asyncio.run(self.input_handler.handleInputs()) + await self.is_running.acquire() + await asyncio.run(self.input_handler.handleInputs()) await self.is_running.wait() pass