Fixed GVAR external calls

This commit is contained in:
Valmo Trindade
2025-05-17 23:24:30 -03:00
parent af15a44fb6
commit 3a179ea958
2 changed files with 1 additions and 2 deletions

View File

@@ -1,3 +1,2 @@
PREP(initCOTRouter);
PREP(logMessage);
PREP(notify);

View File

@@ -33,7 +33,7 @@ if (isServer) exitWith {
{
_objectType = _x call BIS_fnc_objectType;
if ((_objectType select 0) == "Soldier") then {
if (!GETVAR(_x,EVAR(client,eudConnected))) then {
if (!GETVAR(_x,EGVAR(client,eudConnected),false)) then {
_callsign = [_x] call armatak_fnc_extract_unit_callsign;
_group_name = [group _x] call armatak_fnc_extract_group_color;
_group_role = [_x] call armatak_fnc_extract_group_role;