mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-03 14:01:36 +03:00
#924 lower range on remove net
This commit is contained in:
1 parent
ad17aa07af
commit
004719fa56
1 file changed
+1
-1
@@ -3,7 +3,7 @@ private ["_nearNets","_nearNet"];
|
||||
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
||||
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
|
||||
|
||||
_nearNets = nearestObjects [player, ["DesertLargeCamoNet","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ"], 10];
|
||||
_nearNets = nearestObjects [player, ["DesertLargeCamoNet","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ"], 3];
|
||||
_nearNet = _nearNets select 0;
|
||||
|
||||
if (!isNull _nearNet and _canDo) then {
|
||||
|
||||
Reference in new issue
Block a user