Skip to content

Commit 17b3517

Browse files
committed
fix accidental global
1 parent 826456a commit 17b3517

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
@@ -729,7 +729,7 @@ function MPT:UpdatePBInfo(preview)
729729
if preview or (pb and pb.finish) then
730730
local finishtime = preview and math.random(1500000, 2000000) or pb.finish
731731
local date = self:GetDateFormat(preview and {11, 10, 2025, 17, 30} or pb.date)
732-
text = string.format("PB: +%s %s %s", preview and 29 or self.level, self:FormatTime(finishtime/1000), date)
732+
local text = string.format("PB: +%s %s %s", preview and 29 or self.level, self:FormatTime(finishtime/1000), date)
733733
local parent = (self.PBInfo.AnchoredTo == "MainFrame" and F) or (self.PBInfo.AnchoredTo == "Bosses" and F["Bosses"..self.MaxBossFrame]) or F[self.PBInfo.AnchoredTo]
734734
self:ApplyTextSettings(F.ForcesBar.PBInfo, self.PBInfo, text, false, parent)
735735
end

0 commit comments

Comments
 (0)