WoWInterface SVN oUF_Reputation

Compare Revisions

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

Rev 6 → Rev 5

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() end
if(not GetWatchedFactionInfo()) then return bar:Hide()
 
local name, id, min, max, value = GetWatchedFactionInfo()
bar:SetMinMaxValues(min, max)