diff --git a/components/infobox/commons/infobox_league.lua b/components/infobox/commons/infobox_league.lua index 44d45e38ca7..35c4d748c7d 100644 --- a/components/infobox/commons/infobox_league.lua +++ b/components/infobox/commons/infobox_league.lua @@ -23,6 +23,7 @@ local Variables = require('Module:Variables') local BasicInfobox = Lua.import('Module:Infobox/Basic') local Flags = Lua.import('Module:Flags') +local HighlightConditions = Lua.import('Module:HighlightConditions') local InfoboxPrizePool = Lua.import('Module:Infobox/Extensions/PrizePool') local LeagueIcon = Lua.import('Module:LeagueIcon') local Links = Lua.import('Module:Links') @@ -417,7 +418,7 @@ end ---@param args table ---@return boolean function League:liquipediaTierHighlighted(args) - return self.data.publishertier + return HighlightConditions.tournament(self.data) end --- Allows for overriding this functionality