mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Maybe fix disappear from the Vault while unlocking
This commit is contained in:
@@ -70,6 +70,9 @@ if ((_ownerID == dayz_combination) or (_ownerID == dayz_playerUID)) then {
|
|||||||
_backpacks = _obj getVariable["BackpackCargo",[]];
|
_backpacks = _obj getVariable["BackpackCargo",[]];
|
||||||
|
|
||||||
_holder = createVehicle [_unlockedClass,_pos,[], 0, "CAN_COLLIDE"];
|
_holder = createVehicle [_unlockedClass,_pos,[], 0, "CAN_COLLIDE"];
|
||||||
|
if ((isNull _holder) or (isNil "_holder")) then {
|
||||||
|
_holder = createVehicle [_unlockedClass,_pos,[], 0, "CAN_COLLIDE"];
|
||||||
|
};
|
||||||
// Remove locked vault
|
// Remove locked vault
|
||||||
deleteVehicle _obj;
|
deleteVehicle _obj;
|
||||||
_holder setdir _dir;
|
_holder setdir _dir;
|
||||||
|
|||||||
Reference in New Issue
Block a user