diff --git a/client/lobby/SelectionTab.cpp b/client/lobby/SelectionTab.cpp index 4b45c7ffd..4d27f2a33 100644 --- a/client/lobby/SelectionTab.cpp +++ b/client/lobby/SelectionTab.cpp @@ -901,7 +901,7 @@ void SelectionTab::parseCampaigns(const std::unordered_set & files for (auto const & item : mainmenu["window"]["items"].Vector()) if(item["name"].String() == "campaign") for (auto const & button : item["buttons"].Vector()) - if(boost::algorithm::contains(boost::algorithm::to_lower_copy(button["command"].String()), boost::algorithm::to_lower_copy(foundInSet))) + if(boost::algorithm::ends_with(boost::algorithm::to_lower_copy(button["command"].String()), boost::algorithm::to_lower_copy(foundInSet))) setInMainmenu = true; if(!setInMainmenu) diff --git a/docs/Readme.md b/docs/Readme.md index b50df62b8..284cf3c0b 100644 --- a/docs/Readme.md +++ b/docs/Readme.md @@ -9,10 +9,10 @@ VCMI is an open-source recreation of Heroes of Might & Magic III engine, giving it new and extended possibilities.

-Vanilla town siege in extended window -Vanilla town view with radial menu for touchscreen devices -Large Spellbook with German translation -New widget for Hero selection, featuring Pavillon Town + Vanilla town siege in extended window + Vanilla town view with radial menu for touchscreen devices + Large Spellbook with German translation + New widget for Hero selection, featuring Pavillon Town

@@ -37,10 +37,12 @@ Please see corresponding installation guide articles for details for your platfo - [Android](players/Installation_Android.md) - [iOS](players/Installation_iOS.md) +See also installation guide for [Heroes Chronicles](players/Heroes_Chronicles.md). +

-Forge Town in battle -Asylum town with new creature dialog -Ruins town siege + Forge Town in battle + Asylum town with new creature dialog + Ruins town siege Map editor

diff --git a/docs/players/Heroes Chronicles.md b/docs/players/Heroes_Chronicles.md similarity index 100% rename from docs/players/Heroes Chronicles.md rename to docs/players/Heroes_Chronicles.md