From c7f47c0b34a5400613ec0faecc8aef05cfdaf3d1 Mon Sep 17 00:00:00 2001 From: Glowbal Date: Sat, 15 Aug 2015 20:31:41 +0200 Subject: [PATCH] Replaced check for captive module by check for `ACE_medical` --- addons/zeus/functions/fnc_moduleSetMedic.sqf | 2 +- addons/zeus/functions/fnc_moduleSetMedicalFacility.sqf | 2 +- addons/zeus/functions/fnc_moduleSetMedicalVehicle.sqf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/zeus/functions/fnc_moduleSetMedic.sqf b/addons/zeus/functions/fnc_moduleSetMedic.sqf index 4b3227e8f2..656d7b1269 100644 --- a/addons/zeus/functions/fnc_moduleSetMedic.sqf +++ b/addons/zeus/functions/fnc_moduleSetMedic.sqf @@ -21,7 +21,7 @@ params ["_logic", "_units", "_activated"]; if !(_activated && local _logic) exitWith {}; -if (isNil QEFUNC(captives,setSurrendered)) then { +if !(["ACE_Medical"] call EFUNC(common,isModLoaded)) then { [LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured); } else { _mouseOver = GETMVAR(bis_fnc_curatorObjectPlaced_mouseOver,[""]); diff --git a/addons/zeus/functions/fnc_moduleSetMedicalFacility.sqf b/addons/zeus/functions/fnc_moduleSetMedicalFacility.sqf index c0f54e0ff2..ae075f8f5f 100644 --- a/addons/zeus/functions/fnc_moduleSetMedicalFacility.sqf +++ b/addons/zeus/functions/fnc_moduleSetMedicalFacility.sqf @@ -21,7 +21,7 @@ params ["_logic", "_units", "_activated"]; if !(_activated && local _logic) exitWith {}; -if (isNil QEFUNC(captives,setSurrendered)) then { +if !(["ACE_Medical"] call EFUNC(common,isModLoaded)) then { [LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured); } else { _mouseOver = GETMVAR(bis_fnc_curatorObjectPlaced_mouseOver,[""]); diff --git a/addons/zeus/functions/fnc_moduleSetMedicalVehicle.sqf b/addons/zeus/functions/fnc_moduleSetMedicalVehicle.sqf index e45826013b..a50761bba4 100644 --- a/addons/zeus/functions/fnc_moduleSetMedicalVehicle.sqf +++ b/addons/zeus/functions/fnc_moduleSetMedicalVehicle.sqf @@ -21,7 +21,7 @@ params ["_logic", "_units", "_activated"]; if !(_activated && local _logic) exitWith {}; -if (isNil QEFUNC(captives,setSurrendered)) then { +if !(["ACE_Medical"] call EFUNC(common,isModLoaded)) then { [LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured); } else { _mouseOver = GETMVAR(bis_fnc_curatorObjectPlaced_mouseOver,[""]);