Skip to content

Commit

Permalink
remove useless rounding in scoreboard
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Jun 19, 2024
1 parent ca827ee commit 25322fe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Themes/Til Death/BGAnimations/superscoreboard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -656,11 +656,7 @@ local function makeScoreDisplay(i)
end,
DisplayCommand = function(self)
local perc = hs:GetWifeScore() * 100
if perc > 99.7 then
self:settextf("%05.5f%%", notShit.floor(perc, 5))
else
self:settextf("%05.4f%%", notShit.floor(perc, 4))
end
self:settextf("%05.4f%%", notShit.floor(perc, 4))
self:diffuse(byGrade(hs:GetWifeGrade()))
end
},
Expand Down

0 comments on commit 25322fe

Please sign in to comment.