From 8be08154c53a25111b900dcc15e862f86cd2788b Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 18 Feb 2017 21:51:07 +0100 Subject: [PATCH] [Menus] Fix scriptmenu loading --- src/Components/Modules/Menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {