mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix Dropping Unique Magazines
This commit is contained in:
parent
e65d74f43d
commit
ee961ed1e6
@ -88,7 +88,7 @@ _targetMagazinesEnd = magazinesAmmo _target;
|
|||||||
_holderMagazinesEnd = magazinesAmmoCargo _holder;
|
_holderMagazinesEnd = magazinesAmmoCargo _holder;
|
||||||
|
|
||||||
//Verify Mags dropped from unit:
|
//Verify Mags dropped from unit:
|
||||||
if ( ({(_x select 0) in _listOfItemsToRemove} count _targetMagazinesEnd) != 0) exitWith {
|
if ( ({((_x select 0) in _listOfItemsToRemove) && {!((_x select 0) in UNIQUE_MAGAZINES)}} count _targetMagazinesEnd) != 0) exitWith {
|
||||||
_holder setVariable [QGVAR(holderInUse), false];
|
_holder setVariable [QGVAR(holderInUse), false];
|
||||||
[_caller, _target, "Debug: Didn't Remove Magazines"] call FUNC(eventTargetFinish);
|
[_caller, _target, "Debug: Didn't Remove Magazines"] call FUNC(eventTargetFinish);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user