From 4c07c63f9b5669a721112562c5951876d90e8386 Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 1 Jul 2020 00:14:31 +0100 Subject: [PATCH] Reduce cooldown on room join to 0.5s --- houdini/handlers/play/navigation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/houdini/handlers/play/navigation.py b/houdini/handlers/play/navigation.py index 6e195ad..2385872 100644 --- a/houdini/handlers/play/navigation.py +++ b/houdini/handlers/play/navigation.py @@ -127,7 +127,7 @@ async def room_cooling(p): @handlers.handler(XTPacket('j', 'jr')) -@handlers.cooldown(1, callback=room_cooling) +@handlers.cooldown(0.5, callback=room_cooling) 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)