fix: Constant initialization
This commit is contained in:
@@ -81,11 +81,9 @@ addEventHandler("onWebsocketConnect", function(socket, url)
|
|||||||
if (socket != _pyg2o_server_connection)
|
if (socket != _pyg2o_server_connection)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!_silent)
|
|
||||||
{
|
|
||||||
print("[PyG2O] Successfully connected to " + url);
|
|
||||||
_PyG2O_InitializeConstants();
|
_PyG2O_InitializeConstants();
|
||||||
}
|
if (!_silent)
|
||||||
|
print("[PyG2O] Successfully connected to " + url);
|
||||||
});
|
});
|
||||||
|
|
||||||
addEventHandler("onWebsocketDisconnect", function(socket, url)
|
addEventHandler("onWebsocketDisconnect", function(socket, url)
|
||||||
|
|||||||
Reference in New Issue
Block a user