mirror of
https://github.com/solero/houdini.git
synced 2024-11-21 21:17:21 +00:00
Perform send_xt filter on single player in igloo backyard
This commit is contained in:
parent
d25bfe4c98
commit
2ef0f457db
@ -90,7 +90,8 @@ 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):
|
||||||
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):
|
class Room(db.Model, RoomMixin):
|
||||||
|
Loading…
Reference in New Issue
Block a user