diff --git a/game_flow.py b/game_flow.py index 6c5d2fa..fe238a5 100644 --- a/game_flow.py +++ b/game_flow.py @@ -283,14 +283,14 @@ async def main(): await p1.connect() await p2.connect() - # Match create + join - match_id = await p1.create_match() - await p2.join_match(match_id) - # Start listeners p1.start_listener() p2.start_listener() + # Match create + join + match_id = await p1.create_match() + await p2.join_match(match_id) + await asyncio.sleep(1) for test_scenario in TEST_SCENARIOS: