From ef94011cdced9e0cde05bbc2ceacf30a6cba1222 Mon Sep 17 00:00:00 2001 From: Nou Date: Mon, 19 Jan 2015 15:13:41 -0800 Subject: [PATCH] Menu rendering should be done with the mission event handler for Draw3D because it executes before rendering the current frame, rather than after the current frame. --- addons/interact_menu/XEH_clientInit.sqf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/interact_menu/XEH_clientInit.sqf b/addons/interact_menu/XEH_clientInit.sqf index 16f557182d..a02bf4d558 100644 --- a/addons/interact_menu/XEH_clientInit.sqf +++ b/addons/interact_menu/XEH_clientInit.sqf @@ -4,7 +4,8 @@ _fnc = { _this call FUNC(render); }; -[_fnc, 0, []] call cba_fnc_addPerFrameHandler; +// [_fnc, 0, []] call cba_fnc_addPerFrameHandler; +addMissionEventHandler ["Draw3D", _fnc]; _fnc = { _this call FUNC(probe);