mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +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:
@@ -15,5 +15,5 @@ if(count _nrTowers >0)then{
|
||||
[_lCol,_lbrt,_lamb,[_x],[true]] call axe_towerLight;
|
||||
_x setVariable ["axeTLight", 1, false];
|
||||
};
|
||||
}forEach _nrTowers;
|
||||
}count _nrTowers;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user