mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add #4941 for rewrite
This commit is contained in:
parent
672be73bae
commit
15d62ca27f
@ -6,6 +6,12 @@ ADDON = false;
|
|||||||
|
|
||||||
call FUNC(parseConfigForInjuries);
|
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
|
// decide which woundsHandler to use by whether the extension is present or not
|
||||||
if ("ace_medical" callExtension "version" != "") then {
|
if ("ace_medical" callExtension "version" != "") then {
|
||||||
DFUNC(woundsHandlerActive) = FUNC(woundsHandler);
|
DFUNC(woundsHandlerActive) = FUNC(woundsHandler);
|
||||||
|
Loading…
Reference in New Issue
Block a user