Skip to content

Commit

Permalink
Update infobox_unit_custom.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
senti authored Jan 16, 2025
1 parent f8cf5d1 commit 9fe8683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/infobox/wikis/stormgate/infobox_unit_custom.lua
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function CustomUnit:subHeaderDisplay(args)

local parts = Array.map(self:_parseSubfactionData(subfactionData), function(subfactionElement)
if Logic.isEmpty(subfactionElement[2]) or not GAME_MODE_ICON[string.lower(subfactionElement[1])] then return end
if args.informationType == 'Hero' then
if args.informationType == 'Hero' then
return GAME_MODE_ICON[string.lower(subfactionElement[1])] .. ' '
.. GAME_MODE_NAME[string.lower(subfactionElement[1])]
end
Expand Down

0 comments on commit 9fe8683

Please sign in to comment.