.BANCHO. Cache match data for tourney client

This commit is contained in:
Nyo
2016-10-08 20:18:33 +02:00
parent b1399aaf6e
commit 2eb7fb609c
2 changed files with 5 additions and 3 deletions

View File

@@ -7,4 +7,4 @@ def handle(userToken, packetData):
matchID = packetData["matchID"]
if matchID not in glob.matches.matches:
return
userToken.enqueue(serverPackets.updateMatch(matchID))
userToken.enqueue(glob.matches.matches[matchID].matchDataCache)