LayZ evaluation

This commit is contained in:
VKing 2016-01-20 12:35:53 +01:00
parent 05ce4f824c
commit a9511936fd

View File

@ -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 {