From 2ef0f457db50f919e9b34f551efbaf01f7ce9502 Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 12 Jun 2020 15:15:52 +0100 Subject: [PATCH] Perform send_xt filter on single player in igloo backyard --- houdini/data/room.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/houdini/data/room.py b/houdini/data/room.py index 1bae264..8d5d40a 100644 --- a/houdini/data/room.py +++ b/houdini/data/room.py @@ -90,7 +90,8 @@ class PenguinBackyardRoom(RoomMixin): p.toy = None async def send_xt(self, *data, f=None): - await self.penguin.send_xt(*data) + if f is None or f(self.penguin): + await self.penguin.send_xt(*data) class Room(db.Model, RoomMixin):