Skip to content

Commit

Permalink
Fix isTrackable check in loop (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
veteran29 authored Feb 2, 2020
1 parent 1b3b5c9 commit 08c758c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/friendly_tracker/functions/fnc_loop.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (!GVAR(enabled)) exitWith {
GVAR(markers) = [];

// If GPS mode is enabled and player (local) does not have GPS/UAV terminal we break and schedule next loop
if ([player] call FUNC(isTrackable)) exitWith {
if (![player] call FUNC(isTrackable)) exitWith {
[FUNC(loop), [], GVAR(refreshRate)] call CBA_fnc_waitAndExecute;
};

Expand Down

0 comments on commit 08c758c

Please sign in to comment.