big refactor, WIP!
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
params [["_asset", objNull, [objNull]]];
|
||||
|
||||
private _closestBase = [_asset] call EFUNC(util,getNearestBase);
|
||||
private _closestBase = [_asset] call EFUNC(common,getNearestBase);
|
||||
if (isNull _closestBase) exitWith {false};
|
||||
|
||||
(_asset distance2D _closestBase) <= GVAR(setting_detectionRangeFromBase)
|
||||
Reference in New Issue
Block a user