Fix all multi passwords being sent to each user in lobby
This commit is contained in:
parent
cae82bd107
commit
8043d686c5
|
@ -202,7 +202,9 @@ def createMatch(matchID):
|
|||
|
||||
# Get match binary data and build packet
|
||||
match = glob.matches.matches[matchID]
|
||||
return packetHelper.buildPacket(packetIDs.server_newMatch, match.getMatchData())
|
||||
matchData = match.getMatchData()
|
||||
matchData.matchPassword = ""
|
||||
return packetHelper.buildPacket(packetIDs.server_newMatch, matchData)
|
||||
|
||||
# TODO: Add match object argument to save some CPU
|
||||
def updateMatch(matchID):
|
||||
|
|
Loading…
Reference in New Issue
Block a user