WoWInterface SVN oUF_Reputation

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 5 to Rev 6
    Reverse comparison

Rev 5 → Rev 6

trunk/oUF_Reputation/oUF_Reputation.lua
24,7 → 24,7
 
local function Update(self, event, unit)
local bar = self.Reputation
if(not GetWatchedFactionInfo()) then return bar:Hide()
if(not GetWatchedFactionInfo()) then return bar:Hide() end
 
local name, id, min, max, value = GetWatchedFactionInfo()
bar:SetMinMaxValues(min, max)