Switch to correct function

This commit is contained in:
A Man
2021-08-17 16:47:45 +02:00
parent b72c8ceeda
commit 6348294ac5

View File

@@ -110,7 +110,7 @@ while {_isOk} do {
} else { } else {
call gear_ui_init; call gear_ui_init;
//Remove melee magazines (BIS_fnc_invAdd fix) //Remove melee magazines (BIS_fnc_invAdd fix)
{player removeMagazines _x} forEach MeleeMagazines; false call dz_fn_meleeMagazines;
_result = [player,_itemOut] call BIS_fnc_invAdd; _result = [player,_itemOut] call BIS_fnc_invAdd;
if (_result) then { if (_result) then {
//Let the player know what he caught //Let the player know what he caught