From bc93e246ee8d756b55338e0fc0d3a3e63561c438 Mon Sep 17 00:00:00 2001 From: oiad Date: Sat, 9 Sep 2017 09:22:51 +1200 Subject: [PATCH] Add extra magazine instead of reloading current one https://github.com/DayZMod/DayZ/commit/e7ffb88075b2e71ef442946af0663ade57ea01c4 --- SQF/dayz_code/actions/ammo.sqf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/ammo.sqf b/SQF/dayz_code/actions/ammo.sqf index fc0794b58..07f860c6f 100644 --- a/SQF/dayz_code/actions/ammo.sqf +++ b/SQF/dayz_code/actions/ammo.sqf @@ -17,10 +17,9 @@ _magazines = getArray (configFile >> "cfgWeapons" >> _weapon >> "magazines"); } count _magazines; if (_ammo != "") then { - _vehicle removeMagazineTurret [_ammo,_turret]; _vehicle addMagazineTurret [_ammo,_turret]; player removeMagazine _ammo; format[localize "str_player_ammo_successful",_ammoType] call dayz_rollingMessages; } else { format[localize "str_player_ammo_fail",_text] call dayz_rollingMessages; -}; \ No newline at end of file +};