Skip to content

Commit

Permalink
Merge pull request #2841 from acemod/medicalAiBandage
Browse files Browse the repository at this point in the history
Move bandage log before basic exit
  • Loading branch information
thojkooi committed Nov 20, 2015
2 parents 4a19fcc + c3e6990 commit 801120f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/medical/functions/fnc_treatmentAdvanced_bandage.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
#include "script_component.hpp"
params ["_caller", "_target", "_selectionName", "_className", "_items", "", ["_specificSpot", -1]];

[_target, "activity", LSTRING(Activity_bandagedPatient), [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog);
[_target, "activity_view", LSTRING(Activity_bandagedPatient), [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog); // TODO expand message

if !([_target] call FUNC(hasMedicalEnabled)) exitwith {
_this call FUNC(treatmentBasic_bandage);
};
Expand All @@ -30,7 +33,4 @@ if !([_target] call FUNC(hasMedicalEnabled)) exitwith {
};
}foreach _items;*/

[_target, "activity", LSTRING(Activity_bandagedPatient), [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog);
[_target, "activity_view", LSTRING(Activity_bandagedPatient), [[_caller] call EFUNC(common,getName)]] call FUNC(addToLog); // TODO expand message

true;

0 comments on commit 801120f

Please sign in to comment.