From 758c40bdac28d3917f1b7f0f64dc50129013e360 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 2 Dec 2019 23:39:26 +0000 Subject: [PATCH] Fix AS2 table leave bug --- houdini/handlers/play/navigation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/houdini/handlers/play/navigation.py b/houdini/handlers/play/navigation.py index eac310e..38cd846 100644 --- a/houdini/handlers/play/navigation.py +++ b/houdini/handlers/play/navigation.py @@ -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)