1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 17:32:54 +08:00

Fix incorrect length mapping in APIBeatmap

This commit is contained in:
Dean Herbert 2021-10-22 15:54:40 +09:00
parent 02d1cf31cb
commit ea473428e8

View File

@ -51,8 +51,10 @@ namespace osu.Game.Online.API.Requests.Responses
[JsonProperty(@"accuracy")]
private float overallDifficulty { get; set; }
public double Length => lengthInSeconds * 1000;
[JsonProperty(@"total_length")]
public double Length { get; set; }
private double lengthInSeconds { get; set; }
[JsonProperty(@"count_circles")]
private int circleCount { get; set; }