Replace forEach with Count

Use count where you do not need _forEachIndex variable, it's quicker
than forEach.
This commit is contained in:
icomrade
2014-05-27 15:37:57 -04:00
parent 91d246e64e
commit e54b9983dd
210 changed files with 890 additions and 890 deletions

View File

@@ -42,7 +42,7 @@ if (_button == 1) then {
/*
This flag means that the action is output oriented
the output class will then be transferred to the script
and the type used for the name
&& the type used for the name
*/
_array = getArray (_config >> "output");
_outputClass = _array select 0;