mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:42:56 +08:00
Bind replay recording score to judgement changes
This commit is contained in:
parent
64a2526678
commit
ae22f75406
@ -165,6 +165,8 @@ namespace osu.Game.Screens.Play
|
|||||||
protected virtual void PrepareReplay()
|
protected virtual void PrepareReplay()
|
||||||
{
|
{
|
||||||
DrawableRuleset.SetRecordTarget(recordingScore = new Score { Replay = new Replay() });
|
DrawableRuleset.SetRecordTarget(recordingScore = new Score { Replay = new Replay() });
|
||||||
|
|
||||||
|
ScoreProcessor.NewJudgement += result => ScoreProcessor.PopulateScore(recordingScore.ScoreInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader(true)]
|
[BackgroundDependencyLoader(true)]
|
||||||
|
Loading…
Reference in New Issue
Block a user