why the fuck does the osu! client do this to me?

This commit is contained in:
Holly Stubbs 2022-02-22 09:00:46 +00:00
parent 55eee64792
commit 919e0b6701
Signed by: tgpholly
GPG key ID: B8583C4B7D18119E

View file

@ -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();
});