1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 06:39:53 +08:00

Add comment

This commit is contained in:
naoey
2019-06-29 16:10:16 +05:30
Unverified
parent 6c81d57178
commit 04c467fd81
+2
View File
@@ -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);