fix: game menus are still executed when yapb menu is showed (fixes #271)
This commit is contained in:
parent
a763c9b995
commit
ae0156ff42
2 changed files with 2 additions and 2 deletions
|
|
@ -1675,7 +1675,7 @@ bool BotControl::executeMenus () {
|
|||
// let's get handle
|
||||
for (auto &menu : m_menus) {
|
||||
if (menu.ident == issuer.menu) {
|
||||
return (this->*menu.handler) (strValue (1).int_ ());
|
||||
return (this->*menu.handler) (strValue (1).int_ ()) == BotCommandResult::Handled;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue