From 15d62ca27fb4b96c1a8ee0ff15bd8973a7fcd05f Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Sat, 18 Mar 2017 09:13:08 -0500 Subject: [PATCH] Add #4941 for rewrite --- addons/medical_damage/XEH_preInit.sqf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/medical_damage/XEH_preInit.sqf b/addons/medical_damage/XEH_preInit.sqf index f3e7680270..21c5d4b15f 100644 --- a/addons/medical_damage/XEH_preInit.sqf +++ b/addons/medical_damage/XEH_preInit.sqf @@ -6,6 +6,12 @@ ADDON = false; call FUNC(parseConfigForInjuries); +addMissionEventHandler ["Loaded",{ + INFO("Mission Loaded - Reloading medical configs for extension"); + // Reload configs into extension (handle full game restart) + call FUNC(parseConfigForInjuries); +}]; + // decide which woundsHandler to use by whether the extension is present or not if ("ace_medical" callExtension "version" != "") then { DFUNC(woundsHandlerActive) = FUNC(woundsHandler);