From 045cf467084f7b4b1d9b21f7d06c0c10b2b45324 Mon Sep 17 00:00:00 2001 From: lolcat Date: Sun, 3 Nov 2024 01:24:44 -0400 Subject: [PATCH] fix shitty netcode --- client.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client.js b/client.js index baff496..e9deb74 100755 --- a/client.js +++ b/client.js @@ -404,6 +404,11 @@ async function handshake(name, password){ break; } }); + + ws.on("error", function(code, reason)){ + + deek.emit("error", "code=" + code + " reason=" + reason); + }); } /*