From b354fed39a740dae562887e97ea6c5211d9d2b38 Mon Sep 17 00:00:00 2001 From: looterz Date: Thu, 25 Feb 2016 08:35:33 -0600 Subject: [PATCH] Moved _playersToDrawMarkers into BFT_ShowPlayerNames code region --- addons/map/functions/fnc_blueForceTrackingUpdate.sqf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/map/functions/fnc_blueForceTrackingUpdate.sqf b/addons/map/functions/fnc_blueForceTrackingUpdate.sqf index 1fe9c503eb..34d41bb49c 100644 --- a/addons/map/functions/fnc_blueForceTrackingUpdate.sqf +++ b/addons/map/functions/fnc_blueForceTrackingUpdate.sqf @@ -17,7 +17,6 @@ if (GVAR(BFT_Enabled) and {(!isNil "ACE_player") and {alive ACE_player}}) then { _playerSide = call EFUNC(common,playerSide); _groupsToDrawMarkers = allGroups select {side _x == _playerSide}; - _playersToDrawMarkers = allPlayers select {side _x == _playerSide}; if (GVAR(BFT_HideAiGroups)) then { _groupsToDrawMarkers = _groupsToDrawMarkers select { @@ -28,6 +27,8 @@ if (GVAR(BFT_Enabled) and {(!isNil "ACE_player") and {alive ACE_player}}) then { }; if (GVAR(BFT_ShowPlayerNames)) then { + _playersToDrawMarkers = allPlayers select {side _x == _playerSide}; + { private _markerType = [_x] call EFUNC(common,getMarkerType); private _colour = format ["Color%1", side _x];