mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 15:02:54 +08:00
CreateScoreInfo -> CreateScore
This commit is contained in:
parent
a6b0e35b2d
commit
795933d1a1
@ -276,7 +276,7 @@ namespace osu.Game.Screens.Play
|
|||||||
{
|
{
|
||||||
if (!IsCurrentScreen) return;
|
if (!IsCurrentScreen) return;
|
||||||
|
|
||||||
var score = CreateScoreInfo();
|
var score = CreateScore();
|
||||||
if (RulesetContainer.Replay == null)
|
if (RulesetContainer.Replay == null)
|
||||||
scoreManager.Import(score, true);
|
scoreManager.Import(score, true);
|
||||||
|
|
||||||
@ -287,7 +287,7 @@ namespace osu.Game.Screens.Play
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual ScoreInfo CreateScoreInfo()
|
protected virtual ScoreInfo CreateScore()
|
||||||
{
|
{
|
||||||
var score = new ScoreInfo
|
var score = new ScoreInfo
|
||||||
{
|
{
|
||||||
|
@ -20,6 +20,6 @@ namespace osu.Game.Screens.Play
|
|||||||
RulesetContainer.SetReplay(score.Replay);
|
RulesetContainer.SetReplay(score.Replay);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override ScoreInfo CreateScoreInfo() => score.ScoreInfo;
|
protected override ScoreInfo CreateScore() => score.ScoreInfo;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user