mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
Add comment
This commit is contained in:
parent
6c81d57178
commit
04c467fd81
@ -261,6 +261,8 @@ namespace osu.Game
|
||||
/// </summary>
|
||||
public void PresentScore(ScoreInfo score)
|
||||
{
|
||||
// The given ScoreInfo may have missing properties if it was retrieved from online data. Re-retrieve it from the database
|
||||
// to ensure all the required data for presenting a replay are present.
|
||||
var databasedScoreInfo = ScoreManager.Query(s => s.OnlineScoreID == score.OnlineScoreID);
|
||||
var databasedScore = ScoreManager.GetScore(databasedScoreInfo);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user