1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 14:12:56 +08:00

Revert incorrect ScoreProcessor change

This commit is contained in:
Dean Herbert 2021-06-01 16:24:38 +09:00
parent 790f1dacc9
commit 6e861a9b7f

View File

@ -56,11 +56,7 @@ namespace osu.Game.Tests.Visual
// 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;
}