diff --git a/addons/client/functions/fnc_socketRouter.sqf b/addons/client/functions/fnc_socketRouter.sqf index fa6a1a3..018a384 100644 --- a/addons/client/functions/fnc_socketRouter.sqf +++ b/addons/client/functions/fnc_socketRouter.sqf @@ -4,7 +4,7 @@ if (!hasInterface) exitWith {}; _local_address = "armatak" callExtension ["local_ip", []] select 0; -SETVAR(player,localAddress,_local_address); +SETVAR(player,GVAR(localAddress),_local_address); [{ "armatak" callExtension ["websocket:location", [player call FUNC(extractClientPosition)]];