mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 16:32:54 +08:00
Revert incorrect ScoreProcessor
change
This commit is contained in:
parent
790f1dacc9
commit
6e861a9b7f
@ -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.
|
// 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)
|
if (autoplayMod != null)
|
||||||
{
|
{
|
||||||
var replayScore = autoplayMod.CreateReplayScore(GameplayBeatmap.PlayableBeatmap, Mods.Value);
|
DrawableRuleset?.SetReplayScore(autoplayMod.CreateReplayScore(GameplayBeatmap.PlayableBeatmap, Mods.Value));
|
||||||
|
|
||||||
DrawableRuleset?.SetReplayScore(replayScore);
|
|
||||||
|
|
||||||
ScoreProcessor.NewJudgement += result => ScoreProcessor.PopulateScore(replayScore.ScoreInfo);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user