mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-04-26 00:10:28 -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.host = userId
|
||||||
lobby.isReady = True
|
lobby.isReady = True
|
||||||
lobby.SessionSettings = sessionSettings
|
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):
|
def closeMatch(self, matchId):
|
||||||
lobby, _ = self.getLobbyById(matchId)
|
lobby, _ = self.getLobbyById(matchId)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user