From 919e0b6701a60c0cd867db4cdab564395512a05f Mon Sep 17 00:00:00 2001 From: Holly Date: Tue, 22 Feb 2022 09:00:46 +0000 Subject: [PATCH] why the fuck does the osu! client do this to me? --- server/serverHandler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/serverHandler.js b/server/serverHandler.js index f74ae4f..3531474 100644 --- a/server/serverHandler.js +++ b/server/serverHandler.js @@ -345,6 +345,7 @@ module.exports = async function(req, res) { } // Concat current user queue into response data + // NOTE: NEVER EVER remove this buffer concat. For some reason the client freaks out if it's not there. responseData = Buffer.concat([responseData, PacketUser.queue], responseData.length + PacketUser.queue.length); PacketUser.clearQueue(); });