mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-18 10:16: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:
@@ -18,7 +18,7 @@ _index = 0;
|
||||
_NV set [_index,(_NV select _index) + _x];
|
||||
|
||||
_index =_index + 1;
|
||||
} forEach _increase;
|
||||
} count _increase;
|
||||
|
||||
// set rgb + m
|
||||
player setVariable [_NVx, _NV];
|
||||
|
||||
Reference in New Issue
Block a user