Revert distance checks, fix pack vault

I broke pack vault :(
This commit is contained in:
oiad
2020-06-19 07:59:46 +12:00
parent 3ff6f3b3c5
commit 5b150a58c7
3 changed files with 6 additions and 16 deletions

View File

@@ -19,9 +19,6 @@ _text = getText (configFile >> "CfgVehicles" >> _objType >> "displayName");
if (isNull _obj) exitWith {dayz_actionInProgress = false;};
_playerNear = {isPlayer _x} count (([_obj] call FNC_GetPos) nearEntities ["CAManBase", 12]) > 1;
if (_playerNear) exitWith {dayz_actionInProgress = false; localize "str_pickup_limit_5" call dayz_rollingMessages;};
_ownerID = _obj getVariable["CharacterID","0"];
_ComboMatch = (_ownerID == dayz_combination);
if (DZE_permanentPlot) then {_ownerID = _obj getVariable["ownerPUID","0"];};