feat: Events update for WebSockets 2.1.1

This commit is contained in:
AURUMVORXX
2025-04-21 02:44:02 +03:00
parent 4af7835548
commit 4847d44102

View File

@@ -86,7 +86,7 @@ addEventHandler("onWebsocketConnect", function(socket, url)
print("[PyG2O] Successfully connected to " + url);
});
addEventHandler("onWebsocketDisconnect", function(socket, url)
addEventHandler("onWebsocketClose", function(socket, url, message)
{
if (socket != _pyg2o_server_connection || _reconnect)
return;