Quantcast

Simpy breaks it, Mera fixed it!!!

Merathilis [09-16-17 - 19:27]
Simpy breaks it, Mera fixed it!!!
Filename
ElvUI_SLE/modules/unitframes/unitframes.lua
diff --git a/ElvUI_SLE/modules/unitframes/unitframes.lua b/ElvUI_SLE/modules/unitframes/unitframes.lua
index a7de6c7..2a784e9 100644
--- a/ElvUI_SLE/modules/unitframes/unitframes.lua
+++ b/ElvUI_SLE/modules/unitframes/unitframes.lua
@@ -165,9 +165,9 @@ local function UpdateAuraTimer(self, elapsed)
 	local unitID = self:GetParent():GetParent().unitframeType
 	local auraType = self:GetParent().type
 	if unitID and E.db.sle.unitframes.unit[unitID] and E.db.sle.unitframes.unit[unitID].auras then
-		timervalue, formatid, self.nextupdate = E:GetTimeInfo(self.expiration, E.db.sle.unitframes.unit[unitID].auras[auraType].threshold)
+		timervalue, formatid, self.nextupdate = E:GetTimeInfo(self.expirationSaved, E.db.sle.unitframes.unit[unitID].auras[auraType].threshold)
 	else
-		timervalue, formatid, self.nextupdate = E:GetTimeInfo(self.expiration, 4)
+		timervalue, formatid, self.nextupdate = E:GetTimeInfo(self.expirationSaved, 4)
 	end
 	if self.text:GetFont() then
 		self.text:SetFormattedText(("%s%s|r"):format(E.TimeColors[formatid], E.TimeFormats[formatid][2]), timervalue)