Skip to content

Commit

Permalink
rebirth always rescore when entering eval
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Dec 20, 2022
1 parent e276816 commit 6546a74
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ local t = Def.ActorFrame {
local forcedScreenEntryJudgeWindow = nil
if PREFSMAN:GetPreference("SortBySSRNormPercent") then
forcedScreenEntryJudgeWindow = 4
-- update replaysnapshots and pss for current score being rejudged to j4
screen:RescoreReplay(pss, ms.JudgeScalers[forcedScreenEntryJudgeWindow], score)
end
-- update replaysnapshots and pss for current score being rejudged to whatever judge
screen:RescoreReplay(pss, ms.JudgeScalers[forcedScreenEntryJudgeWindow or judgeSetting], score)

--- propagate set command through children with the song
self:playcommand("Set", {
Expand All @@ -61,7 +61,7 @@ local t = Def.ActorFrame {
end

-- we assume the score has a replay
-- recalculate playerstagestats using the replay
-- recalculate all stats using the replay
screen:RescoreReplay(pss, ms.JudgeScalers[judgeSetting], params.score)

chosenScore = params.score
Expand Down

0 comments on commit 6546a74

Please sign in to comment.