mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-27 02:01:49 +03:00
Add back melee ammo after removal for BIS_fnc_inv
Vanilla commit:
516d1d538c
This commit is contained in:
@@ -69,9 +69,9 @@ if (_classname isKindOf "Bag_Base_EP1") exitWith {
|
||||
_config = (configFile >> _type >> _classname);
|
||||
|
||||
//Remove melee magazines (BIS_fnc_invAdd fix)
|
||||
{player removeMagazines _x} count MeleeMagazines;
|
||||
|
||||
false call dz_fn_meleeMagazines;
|
||||
_isOk = [player,_config] call BIS_fnc_invAdd;
|
||||
true call dz_fn_meleeMagazines;
|
||||
|
||||
if (_isOk) then {
|
||||
deleteVehicle _holder;
|
||||
|
||||
Reference in New Issue
Block a user