mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-07-04 15:41:55 +03:00
e54b9983dd
Use count where you do not need _forEachIndex variable, it's quicker than forEach.
10 lines
235 B
Plaintext
10 lines
235 B
Plaintext
// animHealed.sqf
|
|
|
|
private ["_unit"];
|
|
_unit = _this select 0;
|
|
|
|
_unit switchMove "AmovPpneMstpSnonWnonDnon_healed";
|
|
if ((_unit == player) || (vehicle player != player)) then {
|
|
r_player_unconscious = false;
|
|
r_player_injured = false;
|
|
}; |