In tourney rooms, send a message in the chat when the ready status changes.

This commit is contained in:
Morgan Bazalgette
2017-09-09 12:25:51 +02:00
parent 48534bb551
commit 3ed837dc96
3 changed files with 49 additions and 3 deletions

View File

@@ -14,3 +14,8 @@ def handle(userToken, _):
slotID = match.getUserSlotID(userID)
if slotID is not None:
match.toggleSlotReady(slotID)
# If this is a tournament match, we should send the current status of ready
# players.
if match.isTourney:
match.sendReadyStatus(match)