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