mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-16 01:14:59 +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:
@@ -21,4 +21,4 @@ _findNearestlight = [];
|
||||
};
|
||||
};
|
||||
|
||||
} foreach nearestObjects [([player] call FNC_getPos), [], 20];
|
||||
} count nearestObjects [([player] call FNC_getPos), [], 20];
|
||||
|
||||
Reference in New Issue
Block a user