mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Fix MeleeMagazines showing in crafting UI
Vanilla development commit:
f2e1623ba1
This commit is contained in:
@@ -109,6 +109,7 @@ _getGear = {
|
||||
} forEach (_weapons);
|
||||
|
||||
{
|
||||
if !(_x in MeleeMagazines) then {
|
||||
_index = [_return, _x] call _inArray;
|
||||
|
||||
if (_index != -1) then {
|
||||
@@ -116,6 +117,7 @@ _getGear = {
|
||||
} else {
|
||||
_return set [count _return, [_x, 1, 0]];
|
||||
};
|
||||
};
|
||||
} forEach (_magazines);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user