diff --git a/SQF/dayz_code/compile/player_lockVault.sqf b/SQF/dayz_code/compile/player_lockVault.sqf index 06aa1c1ae..890d8d8c4 100644 --- a/SQF/dayz_code/compile/player_lockVault.sqf +++ b/SQF/dayz_code/compile/player_lockVault.sqf @@ -60,10 +60,7 @@ if(!isNull _obj) then { PVDZE_obj_setlocalVars = [_obj,_holder]; publicVariableServer "PVDZE_obj_setlocalVars"; - - // remove vault - deleteVehicle _obj; - + cutText [format[(localize "str_epoch_player_117"),_text], "PLAIN DOWN"]; }; s_player_lockvault = -1; diff --git a/SQF/dayz_server/init/server_functions.sqf b/SQF/dayz_server/init/server_functions.sqf index dea83dc0d..8558acbd1 100644 --- a/SQF/dayz_server/init/server_functions.sqf +++ b/SQF/dayz_server/init/server_functions.sqf @@ -926,6 +926,8 @@ server_setLocalObjVars = { _magazines = getMagazineCargo _obj; _backpacks = getBackpackCargo _obj; + deleteVehicle _obj; + if (count _weapons > 0) then { _holder setVariable ["WeaponCargo", _weapons]; };