diff --git a/SQF/dayz_code/actions/player_drink.sqf b/SQF/dayz_code/actions/player_drink.sqf index 29111fd81..4494a8689 100644 --- a/SQF/dayz_code/actions/player_drink.sqf +++ b/SQF/dayz_code/actions/player_drink.sqf @@ -58,6 +58,7 @@ if (_hasoutput and !_invehicle) then { _iPos = getPosATL player; _radius = 0.0; _item = createVehicle ["WeaponHolder", _iPos, [], _radius, "CAN_COLLIDE"]; + _item setposATL _iPos; } else { _item = _nearByPile select 0; }; diff --git a/SQF/dayz_code/actions/player_eat.sqf b/SQF/dayz_code/actions/player_eat.sqf index f00045d29..93ad2242f 100644 --- a/SQF/dayz_code/actions/player_eat.sqf +++ b/SQF/dayz_code/actions/player_eat.sqf @@ -58,6 +58,7 @@ if (_hasoutput and !_invehicle) then { _iPos = getPosATL player; _radius = 0.0; _item = createVehicle ["WeaponHolder", _iPos, [], _radius, "CAN_COLLIDE"]; + _item setposATL _iPos; } else { _item = _nearByPile select 0; }; diff --git a/SQF/dayz_code/actions/player_loadCrate.sqf b/SQF/dayz_code/actions/player_loadCrate.sqf index 6d1875edd..47b7d40d3 100644 --- a/SQF/dayz_code/actions/player_loadCrate.sqf +++ b/SQF/dayz_code/actions/player_loadCrate.sqf @@ -54,6 +54,8 @@ if(_type == "backpack") then { _b0x1337 addBackpackCargoGlobal [_create,_qty]; }; +_b0x1337 setPosATL _location; + player reveal _b0x1337; player action ["Gear", _b0x1337];