Skip to content

Commit

Permalink
Fix medication and ivBagLocal typos (#7048)
Browse files Browse the repository at this point in the history
  • Loading branch information
mharis001 authored and PabstMirror committed Jun 8, 2019
1 parent c90abb6 commit 87b73b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/medical_treatment/functions/fnc_ivBagLocal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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];
2 changes: 1 addition & 1 deletion addons/medical_treatment/functions/fnc_medication.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 87b73b1

Please sign in to comment.