mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 02:06:39 +03:00
Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker than forEach.
This commit is contained in:
@@ -29,7 +29,7 @@ _objectsPond = nearestObjects [_playerPos, [], 10];
|
||||
_isOk = true;
|
||||
};
|
||||
};
|
||||
} forEach _objectsPond;
|
||||
} count _objectsPond;
|
||||
|
||||
//diag_log ("Pitch Tent: " + str(_isok) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user