Skip to content

Commit 212995d

Browse files
add judge to score tab
1 parent 941884e commit 212995d

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

  • Themes/Til Death/BGAnimations/ScreenSelectMusic decorations

Themes/Til Death/BGAnimations/ScreenSelectMusic decorations/score.lua

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,19 @@ t[#t + 1] =
436436
end
437437
end
438438
}
439+
440+
t[#t + 1] =
441+
LoadFont("Common Normal") .. {
442+
Name = "Judge",
443+
InitCommand = function(self)
444+
self:xy((frameWidth - offsetX - frameX) / 2, frameHeight - headeroffY - 10 - offsetY):zoom(0.4):settext("")
445+
end,
446+
DisplayCommand = function(self)
447+
local j = table.find(ms.JudgeScalers , notShit.round(score:GetJudgeScale(), 2))
448+
if not j then j = 4 end
449+
self:settext("Judge "..j)
450+
end
451+
}
439452

440453
t[#t + 1] =
441454
Def.Quad {
@@ -585,9 +598,7 @@ t[#t + 1] =
585598
{
586599
Name = "ReplayViewer",
587600
InitCommand = function(self)
588-
self:xy((frameWidth - offsetX - frameX) / 2 + 25, frameHeight - headeroffY - 30 - offsetY):zoom(0.5):halign(1):settext(
589-
""
590-
)
601+
self:xy((frameWidth - offsetX - frameX) / 2, frameHeight - headeroffY - 30 - offsetY):zoom(0.5):settext("")
591602
end,
592603
DisplayCommand = function(self)
593604
if score:HasReplayData() then

0 commit comments

Comments
 (0)