mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
Fix Overwatch G3 glitch for combining
Fix https://github.com/EpochModTeam/DayZ-Epoch/issues/1995#issuecomment-348188066
This commit is contained in:
@@ -17,7 +17,8 @@ if (!(_item in magazines player)) exitWith {dayz_actionInProgress = false;};
|
||||
_config = configFile >> "CfgMagazines" >> _item;
|
||||
|
||||
_use = getArray (_config >> "ItemActions" >> "ReloadMag" >> "use");
|
||||
_consume = _use select 0;
|
||||
_consume = if (_item in (DZE_replaceMagazines select 0)) then {(DZE_replaceMagazines select 1) select ((DZE_replaceMagazines select 0) find _item)} else {_use select 0};
|
||||
|
||||
_create = getArray (_config >> "ItemActions" >> "ReloadMag" >> "output") select 0;
|
||||
|
||||
_item_ammo = gearSlotAmmoCount (uiNamespace getVariable 'uiControl');
|
||||
|
||||
Reference in New Issue
Block a user