mirror of
https://github.com/solero/houdini.git
synced 2024-11-08 20:28:20 +00:00
Fix AS2 table leave bug
This commit is contained in:
parent
91ea647e6c
commit
758c40bdac
@ -66,6 +66,8 @@ async def handle_join_server(p, penguin_id: int, login_key: str):
|
||||
@handlers.handler(XTPacket('j', 'jr'))
|
||||
@handlers.cooldown(1)
|
||||
async def handle_join_room(p, room: Room, x: int, y: int):
|
||||
if p.is_legacy_client and room.tables:
|
||||
await p.send_xt('jr', room.id)
|
||||
p.x, p.y = x, y
|
||||
await p.join_room(room)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user