Skip to content

Commit

Permalink
Fixed Lua error when receiving a song via Battle.net from a multi WoW…
Browse files Browse the repository at this point in the history
… account of a different flavor
  • Loading branch information
LenweSaralonde committed Oct 1, 2023
1 parent dbef92a commit e3291aa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/MusicianSongLinkImportFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,13 @@ function Musician.SongLinkImportFrame.OnSongLinkClick(event, title, playerName)
})

for _, gameAccountInfo in pairs(gameAccountsInfo) do
local text = gameAccountInfo.characterName
if gameAccountInfo.realmDisplayName then
text = text .. '' .. gameAccountInfo.realmDisplayName
end
table.insert(menu, {
notCheckable = true,
text = gameAccountInfo.characterName .. '' .. gameAccountInfo.realmDisplayName,
text = text,
func = function()
Musician.SongLinkImportFrame.ShowImportFrame(title, gameAccountInfo.gameAccountID)
end
Expand Down

0 comments on commit e3291aa

Please sign in to comment.