From b75e03cd3e8ea6fa4ddf3271bd4c646845f1c74b Mon Sep 17 00:00:00 2001 From: 0880 <98263509+0880880@users.noreply.github.com> Date: Tue, 20 Jan 2026 19:59:08 +0330 Subject: [PATCH] Change matchmaking update logic condition --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 1d46181..52b620e 100644 --- a/app.py +++ b/app.py @@ -262,12 +262,13 @@ async def quick_match(request: Request): second = None position: int = 0 # UPDATE LOGIC - while not second and position < len(quick_queue): + while position < len(quick_queue): if quick_queue[position] not in quick_map: if not first: first = quick_queue[position] else: second = quick_queue[position] + break position += 1 if first and second: room = Room()