Perform send_xt filter on single player in igloo backyard

This commit is contained in:
Ben 2020-06-12 15:15:52 +01:00
parent d25bfe4c98
commit 2ef0f457db

View File

@ -90,6 +90,7 @@ class PenguinBackyardRoom(RoomMixin):
p.toy = None p.toy = None
async def send_xt(self, *data, f=None): async def send_xt(self, *data, f=None):
if f is None or f(self.penguin):
await self.penguin.send_xt(*data) await self.penguin.send_xt(*data)