Refactored to account for context changes.

This commit is contained in:
Dario
2025-01-18 22:58:43 -03:00
committed by Mr-Wiseguy
parent 921eb5aee3
commit e72085404b
7 changed files with 25 additions and 21 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ ElementModMenu::ElementModMenu(const Rml::String &tag) : Rml::Element(tag) {
recompui::Element this_compat(this);
recompui::ContextId context = get_current_context();
context.create_element<ModMenu>(&this_compat);
mod_menu = context.create_element<ModMenu>(&this_compat);
}
ElementModMenu::~ElementModMenu() {