From 194c81d58cc54923e8a476bdff456fa27c9edacc Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 26 Jun 2020 03:24:57 +0100 Subject: [PATCH] Fix empty waddle seats after match making completes --- houdini/handlers/games/match.py | 1 + 1 file changed, 1 insertion(+) diff --git a/houdini/handlers/games/match.py b/houdini/handlers/games/match.py index 15be930..6620d8b 100644 --- a/houdini/handlers/games/match.py +++ b/houdini/handlers/games/match.py @@ -96,6 +96,7 @@ def card_match(waddle_game): waddle_room = host.server.rooms[waddle_game.room_id] rw = RoomWaddle(id=host.id, room_id=waddle_room.id, seats=len(matched), game=waddle_game, temporary=True) + rw.penguins = [None] * rw.seats rw.room = waddle_room rw.logic = waddle_game waddle_room.waddles[rw.id] = rw