mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-03 11:51:36 +03:00
This commit is contained in:
1 parent
6e2386d3ae
commit
fdecea8154
1 file changed
+1
-1
@@ -111,7 +111,7 @@ _allowedDistance = 4;
|
||||
_isAir = cursorTarget isKindOf "Air";
|
||||
_isShip = cursorTarget isKindOf "Ship";
|
||||
if(_isAir or _isShip) then {
|
||||
_allowedDistance = 6;
|
||||
_allowedDistance = 8;
|
||||
};
|
||||
|
||||
if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cursorTarget < _allowedDistance) and _canDo) then { //Has some kind of target
|
||||
|
||||
Reference in new issue
Block a user