mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
LayZ evaluation
This commit is contained in:
parent
05ce4f824c
commit
a9511936fd
@ -21,7 +21,7 @@ private _dlgRangefinder = uiNamespace getVariable ["ACE_dlgRangefinder", display
|
||||
|
||||
private _distance = parseNumber ctrlText (_dlgRangefinder displayCtrl 151);
|
||||
|
||||
if (isNil "_distance" || _distance == 0) then {
|
||||
if (isNil "_distance" || {_distance == 0}) then {
|
||||
_distance = _this call EFUNC(common,getTargetDistance);
|
||||
} else {
|
||||
if (_distance > _maxDistance) then {
|
||||
|
Loading…
Reference in New Issue
Block a user