mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +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:
@@ -11,7 +11,7 @@ _projectile = _this select 4;
|
||||
|
||||
if (local _zed) then {
|
||||
|
||||
if (_damage > 1 and _projectile != "") then {
|
||||
if (_damage > 1 && _projectile != "") then {
|
||||
//Record deliberate critical damages
|
||||
switch (_selection) do {
|
||||
case "head_hit": {
|
||||
|
||||
Reference in New Issue
Block a user