Skip to content

Commit e5ba40f

Browse files
committed
Fix the eval screen rescorer boo window
1 parent 198a676 commit e5ba40f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Themes/Til Death/Scripts/Scores.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,12 +391,12 @@ function getRescoredJudge(offsetVector, judgeScale, judge)
391391
local tso = { 1.50, 1.33, 1.16, 1.00, 0.84, 0.66, 0.50, 0.33, 0.20 }
392392
local ts = tso[judgeScale]
393393
local windows = { 22.5, 45.0, 90.0, 135.0, 180.0, 500.0 }
394-
windows[5] = math.max(windows[5], 180.0)
395394
local lowerBound = judge > 1 and windows[judge - 1] * ts or -1.0
396-
local upperBound = windows[judge] * ts
395+
local upperBound = judge == 5 and math.max(windows[judge] * ts, 180.0) or windows[judge] * ts
397396
local judgeCount = 0
398397

399398
if judge > 5 then
399+
lowerBound = math.max(lowerBound, 180.0)
400400
for i = 1, #offsetVector do
401401
x = math.abs(offsetVector[i])
402402
if (x > lowerBound) then

0 commit comments

Comments
 (0)