Skip to content

Commit

Permalink
Update XEH_postInit.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 committed Oct 18, 2024
1 parent d45e8f9 commit f13b002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/medical_engine/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
AISFinishHeal [_injured, _healer, _isMedic];

// AI stay in healing loop if they have healing items available (they try to heal once every second)
if (isNull _atVehicle && {(missionNamespace getVariable [QEGVAR(medical_treatment,convertItems), 2]) != 2}) then {
if (isNull _atVehicle && {!isNil {TYPE_FIRST_AID_KIT call EFUNC(common,getItemReplacements)} || {!isNil {TYPE_MEDIKIT call EFUNC(common,getItemReplacements)}}}) then {
// Replace the items (if enabled) so that the unit can't heal
_healer call EFUNC(common,replaceRegisteredItems);
} else {
Expand Down

0 comments on commit f13b002

Please sign in to comment.