From 16458a0d44335f8c97d5a993aea76479539dc4bd Mon Sep 17 00:00:00 2001 From: ZKWolf <34097612+wolfswolke@users.noreply.github.com> Date: Tue, 30 Jul 2024 21:34:40 +0200 Subject: [PATCH] Added check to see if the HUNTER actually joined the match so runners don't get an error when joining to a not yet hosted match. Issue found by ahbahl. Thank you for bringing it to my attention ^^ --- src/logic/queue_handler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/logic/queue_handler.py b/src/logic/queue_handler.py index 1ca0d0d..466fea9 100644 --- a/src/logic/queue_handler.py +++ b/src/logic/queue_handler.py @@ -274,6 +274,8 @@ class MatchmakingQueue: openLobby.nonHosts.append(queuedPlayer) # creatorId, matchId, joinerId=None, region=None, matchConfig=None, # SessionSettings=None, PrivateMatch=False, countA=1, countB=5 + if not openLobby.SessionSettings: + return eta_data data = self.createQueueResponseMatched(creatorId=openLobby.host, matchId=openLobby.id, joinerId=userId, matchConfig=openLobby.matchConfig, SessionSettings=openLobby.SessionSettings, PrivateMatch=True,