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:
@@ -24,7 +24,7 @@ if(_num_removed == 1) then {
|
||||
player playActionNow "Gear";
|
||||
};
|
||||
|
||||
if ((_unit == player) or (vehicle player != player)) then {
|
||||
if ((_unit == player) || (vehicle player != player)) then {
|
||||
//Self Healing
|
||||
_id = [player,player] execVM "\z\addons\dayz_code\medical\publicEH\medPainkiller.sqf";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user