mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
464ab0cefb
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: jonpas <jonpas33@gmail.com>
22 lines
500 B
Plaintext
22 lines
500 B
Plaintext
#include "script_component.hpp"
|
|
|
|
ADDON = false;
|
|
|
|
PREP_RECOMPILE_START;
|
|
#include "XEH_PREP.hpp"
|
|
PREP_RECOMPILE_END;
|
|
|
|
#include "initSettings.inc.sqf"
|
|
|
|
call FUNC(parseConfigForInjuries);
|
|
|
|
addMissionEventHandler ["Loaded",{
|
|
INFO("Mission Loaded - Reloading medical configs for extension");
|
|
// Reload configs into extension (handle full game restart)
|
|
call FUNC(parseConfigForInjuries);
|
|
}];
|
|
|
|
[QEGVAR(medical,woundReceived), LINKFUNC(woundReceived)] call CBA_fnc_addEventHandler;
|
|
|
|
ADDON = true;
|