This commit is contained in:
Jonas Zeunert
2020-03-11 21:58:31 +01:00
parent 3bd278567a
commit 6e7e204083

View File

@@ -10,9 +10,7 @@ import asyncio
def main(): def main():
args = parseCommandLine() args = parseCommandLine()
game = createGame(args) game = createGame(args)
event_loop = asyncio.get_event_loop() asyncio.run(game.run())
event_loop.run_until_complete(game.run())
event_loop.close()
def parseCommandLine(): def parseCommandLine():