Merge branch '37-remove-open-menu-option-from-scroll-items-when-item-use-a-scroll-label' into main/yubo-dev

main/yubo-dev
Nuno 3 years ago
commit 908ef24b6b

@ -1881,7 +1881,7 @@ class CHandlerItemMenuCheck : public IActionHandler
}
if (pItemTextDisplay && pIS->Family == ITEMFAMILY::SCROLL)
{
if (pCS->getInventoryIndex()==INVENTORIES::bag)
if (pCS->getInventoryIndex()==INVENTORIES::bag && pIS->Scroll.Label.empty())
pItemTextDisplay->setActive(true);
pItemInfos->setActive(false);
}

Loading…
Cancel
Save