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

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

No files matched your search

+5
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)