diff --git a/addons/viewdistance/CfgEventHandlers.hpp b/addons/viewdistance/CfgEventHandlers.hpp index 789cfeb05c7..6dddc323b1a 100644 --- a/addons/viewdistance/CfgEventHandlers.hpp +++ b/addons/viewdistance/CfgEventHandlers.hpp @@ -16,3 +16,9 @@ class Extended_PostInit_EventHandlers { clientInit = QUOTE(call COMPILE_FILE(XEH_clientInit)); }; }; + +class Extended_DisplayUnload_EventHandlers { + class RscDisplayOptionsVideo { + ADDON = QUOTE([false] call FUNC(adaptViewDistance)); + }; +};