diff --git a/addons/spectator/functions/fnc_handleToolbar.sqf b/addons/spectator/functions/fnc_handleToolbar.sqf index 915749ca42..ece6cb6464 100644 --- a/addons/spectator/functions/fnc_handleToolbar.sqf +++ b/addons/spectator/functions/fnc_handleToolbar.sqf @@ -44,7 +44,7 @@ if (GVAR(camMode) == 0) then { _speed = format ["%1 m/s", GVAR(camSpeed)]; } else { _focus = rank GVAR(camUnit); - _fov = WFSideText GVAR(camUnit); + _fov = WFSideText (group GVAR(camUnit)); _name = name GVAR(camUnit); _speed = format ["%1 km/h", floor(speed GVAR(camUnit))]; }; diff --git a/addons/spectator/functions/fnc_updateUnits.sqf b/addons/spectator/functions/fnc_updateUnits.sqf index 4c61bb5989..866deacdbc 100644 --- a/addons/spectator/functions/fnc_updateUnits.sqf +++ b/addons/spectator/functions/fnc_updateUnits.sqf @@ -40,7 +40,7 @@ _newUnits = [[],allPlayers,allUnits] select GVAR(filterUnits); // Side setting filter _sides = []; -_cond = [{_this == playerSide},{(_this getFriend playerSide) >= 0.6},{(_this getFriend playerSide) < 0.6},{true}] select GVAR(filterSides); +_cond = [{_this == (side group player)},{(_this getFriend (side group player)) >= 0.6},{(_this getFriend (side group player)) < 0.6},{true}] select GVAR(filterSides); { if (_x call _cond) then { _sides pushBack _x;