This commit is contained in:
lambdatiger 2024-01-16 15:39:16 -06:00
parent 7aa17aa91b
commit 8dd76d1ba6
2 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ if (_zIndex < 5) then {
while {count _nlos != count _excludes && {_c < (count _nlos)}} do {
scopeName "mainSearch";
{
if (!(_forEachIndex in _excludes)) then {
if !(_forEachIndex in _excludes) then {
private _index = _buckets pushBack [_x, [_x]];
_excludes pushBack _forEachIndex;
_bucketPos = _x;
@ -74,7 +74,7 @@ if (_zIndex < 5) then {
};
} forEach _nlos;
{
if (!(_forEachIndex in _excludes)) then {
if !(_forEachIndex in _excludes) then {
_testPos = _x;
if (_testPos vectorDistanceSqr _bucketPos <= 30) then {
_bucketList pushBack _x;

View File

@ -32,7 +32,7 @@ if (_convArray isEqualTo []) exitWith {
private _errors = 0;
{
private _ammo = _x;
if (!(_ammo isEqualType "")) then {
if !(_ammo isEqualType "") then {
INFO_1("Improper ammo string at index %1", _forEachIndex);
INC(_errors);
continue;