mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fixed a loop that got caught in the merge crossfire
This commit is contained in:
parent
e3c8e8d6ab
commit
f713791602
@ -30,7 +30,7 @@ if (count _convArray == 0 ) exitWith {
|
|||||||
|
|
||||||
// Add CBA setting blacklist to blacklist and log errors
|
// Add CBA setting blacklist to blacklist and log errors
|
||||||
private _errors = 0;
|
private _errors = 0;
|
||||||
forEach {
|
{
|
||||||
private _ammo = _x;
|
private _ammo = _x;
|
||||||
if (!(_ammo isEqualType "")) then {
|
if (!(_ammo isEqualType "")) then {
|
||||||
INFO_1("Improper ammo string at index %1", _forEachIndex);
|
INFO_1("Improper ammo string at index %1", _forEachIndex);
|
||||||
@ -44,7 +44,7 @@ forEach {
|
|||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
|
|
||||||
GVAR(shouldFragCache) set [_convArray#_i, false];
|
GVAR(shouldFragCache) set [_ammo, false];
|
||||||
} forEach ;
|
} forEach _convArray;
|
||||||
|
|
||||||
INFO_2("Initialized blacklist. Total items found: %1, number of items failed: %2", count _convArray, _errors);
|
INFO_2("Initialized blacklist. Total items found: %1, number of items failed: %2",count _convArray,_errors);
|
||||||
|
Loading…
Reference in New Issue
Block a user