Skip to content

Commit

Permalink
Use Draw2D for rendering interaction menu
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 committed Jan 12, 2025
1 parent d69f047 commit e3dd6c4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
3 changes: 0 additions & 3 deletions addons/interact_menu/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ class Extended_PostInit_EventHandlers {
};

class Extended_DisplayLoad_EventHandlers {
class RscDiary {
ADDON = QUOTE(call COMPILE_SCRIPT(XEH_displayLoad));
};
class RscDisplayInterrupt {
ADDON = QUOTE(_this call FUNC(handleEscapeMenu));
};
Expand Down
2 changes: 1 addition & 1 deletion addons/interact_menu/XEH_clientInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ GVAR(ParsedTextCached) = [];
};
}] call CBA_fnc_addEventHandler;
// Install the render EH on the main display
addMissionEventHandler ["Draw3D", {call FUNC(render)}];
addMissionEventHandler ["Draw2D", {call FUNC(render)}];
}] call CBA_fnc_addEventHandler;

//Add Actions to Houses:
Expand Down
9 changes: 0 additions & 9 deletions addons/interact_menu/XEH_displayLoad.sqf

This file was deleted.

0 comments on commit e3dd6c4

Please sign in to comment.