mirror of
https://github.com/solero/houdini.git
synced 2024-11-28 08:27:18 +00:00
Fix empty waddle seats after match making completes
This commit is contained in:
parent
4525d23b1a
commit
194c81d58c
@ -96,6 +96,7 @@ def card_match(waddle_game):
|
|||||||
|
|
||||||
waddle_room = host.server.rooms[waddle_game.room_id]
|
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 = 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.room = waddle_room
|
||||||
rw.logic = waddle_game
|
rw.logic = waddle_game
|
||||||
waddle_room.waddles[rw.id] = rw
|
waddle_room.waddles[rw.id] = rw
|
||||||
|
Loading…
Reference in New Issue
Block a user