diff --git a/matchmaking/consumers.py b/matchmaking/consumers.py index f47d73d..791d6ef 100644 --- a/matchmaking/consumers.py +++ b/matchmaking/consumers.py @@ -28,8 +28,7 @@ class MatchMaking(WebsocketConsumer): waiting_room: WaitingRoom = normal.get(self.mode) waiting_room.append(Waiter(user.pk, self)) - - print(len(waiting_room), "/", self.mode, [len(waiting_room),self.mode]) + waiting_room.broadcast(f"{len(waiting_room)} / {waiting_room._mode}") if (len(waiting_room) == self.mode): game_id: int = GameModel().create(waiting_room.get_users_id()) waiting_room.broadcast("game_found", {"game_id": game_id})