Fix addLoadPatientActions

This commit is contained in:
PabstMirror 2017-10-02 22:37:22 -05:00
parent af48c6a86c
commit 32e73fa1b3
3 changed files with 3 additions and 1 deletions

View File

@ -96,6 +96,7 @@ class CfgVehicles {
statement = QUOTE([ARR_2(_player, _target)] call EFUNC(medical_treatment,actionLoadUnit));
icon = QPATHTOEF(medical,UI\icons\medical_cross.paa);
exceptions[] = {"isNotDragging", "isNotCarrying"};
insertChildren = QUOTE(call DEFUNC(medical_treatment,addLoadPatientActions));
};
class ACE_Medical_UnLoadPatient {
displayName = ECSTRING(medical,UnloadPatient);

View File

@ -9,6 +9,7 @@ PREP(actionDiagnose);
PREP(actionLoadUnit);
PREP(actionPlaceInBodyBag);
PREP(actionUnloadUnit);
PREP(addLoadPatientActions);
// treaments
PREP(canTreat);

View File

@ -9,7 +9,7 @@
* Child actions <ARRAY>
*
* Example:
* [kevin] call ace_medical_fnc_addLoadPatientActions
* [kevin] call ace_medical_treatment_fnc_addLoadPatientActions
*
* Public: No
*/