diff --git a/src/Components/Modules/Menus.cpp b/src/Components/Modules/Menus.cpp index 9ef79d3e..203fbeb5 100644 --- a/src/Components/Modules/Menus.cpp +++ b/src/Components/Modules/Menus.cpp @@ -530,7 +530,7 @@ namespace Components if (menuList && reinterpret_cast(menuList) != 0xDDDDDDDD) { // Parse scriptmenus! - if (menuList->menuCount > 0 && menuList->menus[0] && menuList->menus[0]->window.name == "default_menu"s || Utils::String::EndsWith(filename, ".menu")) + if ((menuList->menuCount > 0 && menuList->menus[0] && menuList->menus[0]->window.name == "default_menu"s) || Utils::String::EndsWith(filename, ".menu")) { if (FileSystem::File(filename).exists()) {