diff --git a/SQF/dayz_code/actions/player_drink.sqf b/SQF/dayz_code/actions/player_drink.sqf index 5d88c7a66..2176dc74c 100644 --- a/SQF/dayz_code/actions/player_drink.sqf +++ b/SQF/dayz_code/actions/player_drink.sqf @@ -65,7 +65,7 @@ if (_hasoutput && !_invehicle) then { _item addMagazineCargoGlobal [_itemtodrop,1]; }; -if (_invehicle) then { +if (_hasoutput && _invehicle) then { sleep 2; (vehicle player) addMagazineCargoGlobal [_itemtodrop,1]; }; diff --git a/SQF/dayz_code/actions/player_eat.sqf b/SQF/dayz_code/actions/player_eat.sqf index 4b2938c50..38ec94dfb 100644 --- a/SQF/dayz_code/actions/player_eat.sqf +++ b/SQF/dayz_code/actions/player_eat.sqf @@ -65,7 +65,7 @@ if (_hasoutput && !_invehicle) then { _item addMagazineCargoGlobal [_itemtodrop,1]; }; -if (_invehicle) then { +if (_hasoutput && _invehicle) then { sleep 2; (vehicle player) addMagazineCargoGlobal [_itemtodrop,1]; };