diff --git a/addons/medical_blood/XEH_PREP.hpp b/addons/medical_blood/XEH_PREP.hpp index 64ebbae911..0c6f6e245a 100644 --- a/addons/medical_blood/XEH_PREP.hpp +++ b/addons/medical_blood/XEH_PREP.hpp @@ -1,5 +1,5 @@ -PREP(hit); +PREP(handleWoundReceived); PREP(isBleeding); PREP(onBleeding); PREP(createBlood); diff --git a/addons/medical_blood/XEH_postInit.sqf b/addons/medical_blood/XEH_postInit.sqf index 7609efd75d..88a077c81d 100644 --- a/addons/medical_blood/XEH_postInit.sqf +++ b/addons/medical_blood/XEH_postInit.sqf @@ -36,5 +36,5 @@ if (isServer) then { private _stateMachine = [_listcode, true] call CBA_statemachine_fnc_create; [_stateMachine, {call FUNC(onBleeding)}, {}, {}, "Bleeding"] call CBA_statemachine_fnc_addState; - [QEGVAR(medical_engine,woundReceived), FUNC(woundReceived)] call CBA_fnc_addEventHandler; + [QEGVAR(medical_engine,woundReceived), FUNC(handleWoundReceived)] call CBA_fnc_addEventHandler; }] call CBA_fnc_addEventHandler; diff --git a/addons/medical_blood/functions/fnc_woundReceived.sqf b/addons/medical_blood/functions/fnc_handleWoundReceived.sqf similarity index 100% rename from addons/medical_blood/functions/fnc_woundReceived.sqf rename to addons/medical_blood/functions/fnc_handleWoundReceived.sqf