Skip to content

Commit 66f050b

Browse files
committed
Update Display.lua
1 parent c18f954 commit 66f050b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Display.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ function MPT:DisplayTimerElements(chest, completion, preview, diff)
338338
timertext = timeMS and ("%s%s"):format(timertext, timeMS) or timertext
339339
end
340340
local upgrades = completion and C_ChallengeMode.GetChallengeCompletionInfo().keystoneUpgradeLevels or 0
341-
local timercolor = (completion and (upgrades > 0 and self.TimerText.SuccessColor or self.TimerText.FailColor)) or self.TimerText.Color
341+
local timercolor = (completion and (C_ChallengeMode.GetChallengeCompletionInfo().onTime and self.TimerText.SuccessColor or self.TimerText.FailColor)) or self.TimerText.Color
342342
self:ApplyTextSettings(F.TimerBar.TimerText, self.TimerText, string.format("%s/%s", timertext, self:FormatTime(self.timelimit)))
343343
if diff or preview then
344344
local ComparisonTime = preview and math.random(-200, 200) or diff or 0 -- math.random(-200, 200)

0 commit comments

Comments
 (0)