Fix medication and ivBagLocal typos (#7048)

This commit is contained in:
mharis001 2019-06-08 17:54:54 -04:00 committed by PabstMirror
parent f6b35a63ab
commit 9315dbebd9
2 changed files with 2 additions and 2 deletions

View File

@ -35,4 +35,4 @@ private _type = GET_STRING(_ivConfig >> "type",getText (_defaultConfig >> "typ
// Add IV bag to patient's ivBags array
private _ivBags = _patient getVariable [QEGVAR(medical,ivBags), []];
_ivBags pushBack [_volume, _type, _partIndex];
_ivBags setVariable [QEGVAR(medical,ivBags), _ivBags, true];
_patient setVariable [QEGVAR(medical,ivBags), _ivBags, true];

View File

@ -25,4 +25,4 @@ params ["_medic", "_patient", "_bodyPart", "_classname", "", "_usedItem"];
[_patient, _usedItem] call FUNC(addToTriageCard);
[_patient, "activity", LSTRING(Activity_usedItem), [[_medic, false, true] call EFUNC(common,getName), getText (configFile >> "CfgWeapons" >> _usedItem >> "displayName")]] call FUNC(addToLog);
[QGVAR(medicationLocal), [_patient, _bodyPart, _classname]] call CBA_fnc_targetEvent;
[QGVAR(medicationLocal), [_patient, _bodyPart, _classname], _patient] call CBA_fnc_targetEvent;