allow global lobby as button

This commit is contained in:
Laserlicht committed 2025-10-04 13:12:18 +02:00
1 parent 1c819edc32
commit 01ef04a4b2
1 file changed
+2 -1
@@ -117,7 +117,8 @@ std::vector<AdventureMapShortcutState> AdventureMapShortcuts::getShortcuts()
{ EShortcut::ADVENTURE_MOVE_HERO_NN, optionHeroSelected(), [this]() { this->moveHeroDirectional({ 0, -1}); } },
{ EShortcut::ADVENTURE_MOVE_HERO_NE, optionHeroSelected(), [this]() { this->moveHeroDirectional({+1, -1}); } },
{ EShortcut::ADVENTURE_SEARCH, optionSidePanelActive(),[this]() { this->search(false); } },
{ EShortcut::ADVENTURE_SEARCH_CONTINUE, optionSidePanelActive(),[this]() { this->search(true); } }
{ EShortcut::ADVENTURE_SEARCH_CONTINUE, optionSidePanelActive(),[this]() { this->search(true); } },
{ EShortcut::MAIN_MENU_LOBBY, optionSidePanelActive(),[ ]() { ENGINE->user().onGlobalLobbyInterfaceActivated(); } }
};
return result;
}