mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Replaced check for captive module by check for ACE_medical
This commit is contained in:
parent
0e57d3d97c
commit
c7f47c0b34
@ -21,7 +21,7 @@ params ["_logic", "_units", "_activated"];
|
|||||||
|
|
||||||
if !(_activated && local _logic) exitWith {};
|
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);
|
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
||||||
} else {
|
} else {
|
||||||
_mouseOver = GETMVAR(bis_fnc_curatorObjectPlaced_mouseOver,[""]);
|
_mouseOver = GETMVAR(bis_fnc_curatorObjectPlaced_mouseOver,[""]);
|
||||||
|
@ -21,7 +21,7 @@ params ["_logic", "_units", "_activated"];
|
|||||||
|
|
||||||
if !(_activated && local _logic) exitWith {};
|
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);
|
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
||||||
} else {
|
} else {
|
||||||
_mouseOver = GETMVAR(bis_fnc_curatorObjectPlaced_mouseOver,[""]);
|
_mouseOver = GETMVAR(bis_fnc_curatorObjectPlaced_mouseOver,[""]);
|
||||||
|
@ -21,7 +21,7 @@ params ["_logic", "_units", "_activated"];
|
|||||||
|
|
||||||
if !(_activated && local _logic) exitWith {};
|
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);
|
[LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured);
|
||||||
} else {
|
} else {
|
||||||
_mouseOver = GETMVAR(bis_fnc_curatorObjectPlaced_mouseOver,[""]);
|
_mouseOver = GETMVAR(bis_fnc_curatorObjectPlaced_mouseOver,[""]);
|
||||||
|
Loading…
Reference in New Issue
Block a user