diff --git a/houdini/data/room.py b/houdini/data/room.py index c037964..9b17af7 100644 --- a/houdini/data/room.py +++ b/houdini/data/room.py @@ -308,8 +308,11 @@ class PenguinBackyardRoom(RoomMixin): self.blackhole = False self.spawn = False self.stamp_group = None + self.penguin = None async def add_penguin(self, p): + self.penguin = p + if p.room: await p.room.remove_penguin(p) p.room = self @@ -321,6 +324,9 @@ class PenguinBackyardRoom(RoomMixin): p.frame = 1 p.toy = None + async def send_xt(self, *data, f=None): + await self.penguin.send_xt(*data) + class Room(db.Model, RoomMixin): __tablename__ = 'room'