mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 20:12:20 +03:00
Add back melee ammo after removal for BIS_fnc_inv
Vanilla commit:
516d1d538c
This commit is contained in:
@@ -33,7 +33,7 @@ switch (_rounded) do {
|
||||
};
|
||||
|
||||
//Remove melee magazines (BIS_fnc_invAdd fix)
|
||||
{player removeMagazines _x} count MeleeMagazines;
|
||||
false call dz_fn_meleeMagazines;
|
||||
_i = 0;
|
||||
while {_i < _rounded} do {
|
||||
_i = _i + 1;
|
||||
@@ -58,4 +58,5 @@ while {_i < _rounded} do {
|
||||
};
|
||||
_pile addMagazineCargoGlobal [_itemtocreate,1];
|
||||
};
|
||||
};
|
||||
};
|
||||
true call dz_fn_meleeMagazines;
|
||||
Reference in New Issue
Block a user