mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-03-21 17:54:09 -05:00
Removed private matches from discord msg
This commit is contained in:
parent
13051e6701
commit
683be90c2b
|
|
@ -524,7 +524,9 @@ class MatchmakingQueue:
|
|||
lobby.host = userId
|
||||
lobby.isReady = True
|
||||
lobby.SessionSettings = sessionSettings
|
||||
return self.createMatchResponse(matchId=matchId, userId=userId)
|
||||
if lobby.is_private:
|
||||
return self.createMatchResponse(matchId=matchId, userId=userId), True
|
||||
return self.createMatchResponse(matchId=matchId, userId=userId), False
|
||||
|
||||
def closeMatch(self, matchId):
|
||||
lobby, _ = self.getLobbyById(matchId)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user