From c392236843b6d367ead3d99e2217c68bdf480ca4 Mon Sep 17 00:00:00 2001 From: "Rutger \"RedBery\" Meijering" Date: Mon, 8 Apr 2019 00:41:28 +0200 Subject: [PATCH] Medical activity to non local units is not logged (#6925) * Fixes medical events not appearing in MP (when unit is non local) Adds name to AUTHORS.txt (forgot to do this in other PRs) * Fixes missing oef line * Update addons/medical_treatment/XEH_postInit.sqf Co-Authored-By: redbery * delete rogue character --- AUTHORS.txt | 1 + addons/medical_treatment/XEH_postInit.sqf | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/AUTHORS.txt b/AUTHORS.txt index b5b013d68d..29861f1e50 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -129,6 +129,7 @@ Raspu86 Riccardo Petricca Robert Boklahánics ruPaladin +Rutger "RedBery" Meijering simon84 Skengman2 Sniperwolf572 diff --git a/addons/medical_treatment/XEH_postInit.sqf b/addons/medical_treatment/XEH_postInit.sqf index ea8dbefea4..ecaca5cea6 100644 --- a/addons/medical_treatment/XEH_postInit.sqf +++ b/addons/medical_treatment/XEH_postInit.sqf @@ -21,3 +21,7 @@ if (isServer) then { [QGVAR(actionCheckPulseLocal), FUNC(actionCheckPulseLocal)] call CBA_fnc_addEventHandler; [QGVAR(actionCheckBloodPressureLocal), FUNC(actionCheckBloodPressureLocal)] call CBA_fnc_addEventHandler; [QGVAR(actionPlaceInBodyBag), FUNC(actionPlaceInBodyBag)] call CBA_fnc_addEventHandler; + +// log events +[QGVAR(addToMedicalLog), FUNC(addToLog)] call CBA_fnc_addEventHandler; +[QGVAR(addToTriageCard), FUNC(addToTriageCard)] call CBA_fnc_addEventHandler;