mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-04 16:16:34 +03:00
Maybe fix disappear from the Vault while unlocking
This commit is contained in:
1 parent
23e509053e
commit
60ec596bd3
1 file changed
+3
@@ -70,6 +70,9 @@ if ((_ownerID == dayz_combination) or (_ownerID == dayz_playerUID)) then {
|
||||
_backpacks = _obj getVariable["BackpackCargo",[]];
|
||||
|
||||
_holder = createVehicle [_unlockedClass,_pos,[], 0, "CAN_COLLIDE"];
|
||||
if ((isNull _holder) or (isNil "_holder")) then {
|
||||
_holder = createVehicle [_unlockedClass,_pos,[], 0, "CAN_COLLIDE"];
|
||||
};
|
||||
// Remove locked vault
|
||||
deleteVehicle _obj;
|
||||
_holder setdir _dir;
|
||||
|
||||
Reference in new issue
Block a user