mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp
synced 2026-05-31 09:22:19 -04:00
Refactored to account for context changes.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user