Core/Gossip: Fixed gossip menu option localization for cases without a broadcast text assigned
Port From (https://github.com/TrinityCore/TrinityCore/commit/125971c8cb305324a02f5afee8baf017803123cb)
This commit is contained in:
@@ -130,7 +130,7 @@ namespace Game.Misc
|
||||
{
|
||||
GossipMenuItemsLocale gossipMenuLocale = Global.ObjectMgr.GetGossipMenuItemsLocale(menuItem.MenuID, menuItem.OrderIndex);
|
||||
if (gossipMenuLocale != null)
|
||||
ObjectManager.GetLocaleString(gossipMenuLocale.BoxText, GetLocale(), ref strBoxText);
|
||||
ObjectManager.GetLocaleString(gossipMenuLocale.BoxText, GetLocale(), ref strOptionText);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user