diff --git a/FuBar_FuXPFu/FuBar_FuXPFu.lua b/FuBar_FuXPFu/FuBar_FuXPFu.lua index a7b09c6..5eb8353 100644 --- a/FuBar_FuXPFu/FuBar_FuXPFu.lua +++ b/FuBar_FuXPFu/FuBar_FuXPFu.lua @@ -101,8 +101,9 @@ function FuXP:UpdateFactionMenu() local watchedFactionID = select(6, GetWatchedFactionInfo()) for factionIndex = 1, GetNumFactions() do - local name, _, _, _, _, _, _, _, isHeader, _, _, _, _, factionID = GetFactionInfo(factionIndex) - if not isHeader then + local name, _, _, _, _, _, _, _, isHeader, _, hasRep, _, _, factionID = GetFactionInfo(factionIndex) + + if not isHeader or hasRep then if watchedFactionID == factionID then watchedFactionIndex = tostring(factionIndex) end diff --git a/FuBar_FuXPFu/FuBar_FuXPFu.toc b/FuBar_FuXPFu/FuBar_FuXPFu.toc index 8e7e773..bcce86a 100644 --- a/FuBar_FuXPFu/FuBar_FuXPFu.toc +++ b/FuBar_FuXPFu/FuBar_FuXPFu.toc @@ -4,7 +4,7 @@ ## Notes: Lightweight XP Bar ## Notes-zhCN: 迷你经验条 ## Notes-zhTW: 輕量級的經驗值條模組。 -## Version: 10.0.2.5 +## Version: 10.0.2.6 ## Author: Wobin, azuraji ## eMail: wobster@gmail.com ## X-Credits: Bant (For the design)