diff --git a/addons/hearing/CfgEventHandlers.hpp b/addons/hearing/CfgEventHandlers.hpp index 461d6233df..9f0acc6c7c 100644 --- a/addons/hearing/CfgEventHandlers.hpp +++ b/addons/hearing/CfgEventHandlers.hpp @@ -7,7 +7,7 @@ class Extended_PreInit_EventHandlers { class Extended_PostInit_EventHandlers { class ADDON { - clientInit = QUOTE( call COMPILE_FILE(XEH_postInit.sqf) ); + clientInit = QUOTE( call COMPILE_FILE(XEH_postInit) ); }; }; diff --git a/addons/hearing/XEH_postInit.sqf b/addons/hearing/XEH_postInit.sqf index bd9c066faa..49d7fc9bd5 100644 --- a/addons/hearing/XEH_postInit.sqf +++ b/addons/hearing/XEH_postInit.sqf @@ -1,4 +1,6 @@ // by commy2 and CAA-Picard +#include "script_component.hpp" + #define STRENGHTODEAFNESS 3 #define MAXDEAFNESS 1.1