diff --git a/src/control.cpp b/src/control.cpp index 99dc9e4..9c6d17d 100644 --- a/src/control.cpp +++ b/src/control.cpp @@ -1690,6 +1690,8 @@ void BotControl::showMenu (int id) { // make menus looks like we need only once if (!menusParsed) { + m_ignoreTranslate = false; // always translate menus + for (auto &parsed : m_menus) { StringRef translated = conf.translate (parsed.text); @@ -1711,7 +1713,6 @@ void BotControl::showMenu (int id) { } auto &client = util.getClient (game.indexOfPlayer (m_ent)); - auto sendMenu = [&](int32 slots, bool last, StringRef text) { MessageWriter (MSG_ONE, msgs.id (NetMsg::ShowMenu), nullptr, m_ent) .writeShort (slots)