mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-03-21 17:54:09 -05:00
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.
Some checks failed
Build Docker image / build-and-push-image (push) Has been cancelled
Some checks failed
Build Docker image / build-and-push-image (push) Has been cancelled
Issue found by ahbahl. Thank you for bringing it to my attention ^^
This commit is contained in:
parent
f8a6ab315d
commit
16458a0d44
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user