Revert incorrect `ScoreProcessor` change

This commit is contained in:
Dean Herbert 2021-06-01 16:24:38 +09:00
parent 790f1dacc9
commit 6e861a9b7f
1 changed files with 1 additions and 5 deletions

View File

@ -56,11 +56,7 @@ protected override void PrepareReplay()
// This logic should really not exist (and tests should be instantiating a ReplayPlayer), but a lot of base work is required to make that happen.
if (autoplayMod != null)
{
var replayScore = autoplayMod.CreateReplayScore(GameplayBeatmap.PlayableBeatmap, Mods.Value);
DrawableRuleset?.SetReplayScore(replayScore);
ScoreProcessor.NewJudgement += result => ScoreProcessor.PopulateScore(replayScore.ScoreInfo);
DrawableRuleset?.SetReplayScore(autoplayMod.CreateReplayScore(GameplayBeatmap.PlayableBeatmap, Mods.Value));
return;
}