feat: Events update for WebSockets 2.1.1
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user