game: advent to online

This commit is contained in:
2024-01-11 17:30:59 +01:00
parent ddc0698605
commit 134f1a8bd1
11 changed files with 151 additions and 21 deletions

View File

@ -28,7 +28,7 @@ class GameWebSocket(AsyncWebsocketConsumer):
self.room = game_room_manager.get(self.game_id)
if (self.room is None):
self.member.send("Game not found.")
self.send("Game not found.")
self.disconnect(1017)
self.room.append(self.member)