mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-13 21:31:56 +03:00
Fix can't reload partial mag with flares in inventory
Vanilla development commits: https://github.com/DayZMod/DayZ/commit/7f7d3e02e786b0a2fee9cb9af1353f5b28a9eda6 https://github.com/DayZMod/DayZ/commit/094f1f18d2444c4e3ecca5a5b4b3538cc333d606 https://github.com/DayZMod/DayZ/commit/a078e84f11c7829e4830f5397cc50956eaee381a https://github.com/DayZMod/DayZ/commit/805b9def10b8d26d00950e98fe87dcf74e8e06ea Also reverted: https://github.com/EpochModTeam/DayZ-Epoch/commit/51be8aa8a5009b471c9dcfcd3ae3c0a362b7121b since it was not the cause. See https://github.com/DayZMod/DayZ/issues/641 for the details.
This commit is contained in:
@@ -90,7 +90,7 @@ if (isNil "keyboard_keys") then {
|
||||
};
|
||||
} forEach getArray(configFile >> "cfgWeapons" >> _weapon >> _muzz >> "magazines");
|
||||
} forEach _muzzles;
|
||||
} forEach [ "Throw"];
|
||||
} forEach ["Throw"];
|
||||
|
||||
_magCount = count _ammo_throwable;
|
||||
if (_magCount > 0) then {
|
||||
|
||||
Reference in New Issue
Block a user