fix: Constant initialization

This commit is contained in:
AURUMVORXX
2025-04-21 02:33:03 +03:00
parent 62a3c7f90c
commit 45fbce8215

View File

@@ -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)