Rename variable

This commit is contained in:
smoogipoo
2018-12-22 15:46:04 +09:00
parent b9ec179713
commit baed0ef3ba
3 changed files with 3 additions and 3 deletions

View File

@ -118,7 +118,7 @@ namespace osu.Game.Tests.Visual
Accuracy = 0.98, Accuracy = 0.98,
TotalScore = 987654, TotalScore = 987654,
TotalAttempts = 13, TotalAttempts = 13,
CompletedAttempts = 5 CompletedBeatmaps = 5
}; };
} }
} }

View File

@ -12,6 +12,6 @@ namespace osu.Game.Online.API.Requests.Responses
public int TotalAttempts { get; set; } public int TotalAttempts { get; set; }
[JsonProperty("completed")] [JsonProperty("completed")]
public int CompletedAttempts { get; set; } public int CompletedBeatmaps { get; set; }
} }
} }

View File

@ -71,7 +71,7 @@ namespace osu.Game.Screens.Multi.Match.Components
{ {
new LeaderboardScoreStatistic(FontAwesome.fa_crosshairs, "Accuracy", string.Format(model.Accuracy % 1 == 0 ? @"{0:P0}" : @"{0:P2}", model.Accuracy)), new LeaderboardScoreStatistic(FontAwesome.fa_crosshairs, "Accuracy", string.Format(model.Accuracy % 1 == 0 ? @"{0:P0}" : @"{0:P2}", model.Accuracy)),
new LeaderboardScoreStatistic(FontAwesome.fa_refresh, "Total Attempts", ((APIRoomScoreInfo)model).TotalAttempts.ToString()), new LeaderboardScoreStatistic(FontAwesome.fa_refresh, "Total Attempts", ((APIRoomScoreInfo)model).TotalAttempts.ToString()),
new LeaderboardScoreStatistic(FontAwesome.fa_check, "Completed Beatmaps", ((APIRoomScoreInfo)model).CompletedAttempts.ToString()), new LeaderboardScoreStatistic(FontAwesome.fa_check, "Completed Beatmaps", ((APIRoomScoreInfo)model).CompletedBeatmaps.ToString()),
}; };
} }