mirror of
https://github.com/ppy/osu.git
synced 2025-01-08 05:52:54 +08:00
Merge pull request #15239 from peppy/fix-incorrect-length-mapping
Fix incorrect length mapping in `APIBeatmap`
This commit is contained in:
commit
e0e3d1643b
@ -51,8 +51,10 @@ namespace osu.Game.Online.API.Requests.Responses
|
|||||||
[JsonProperty(@"accuracy")]
|
[JsonProperty(@"accuracy")]
|
||||||
private float overallDifficulty { get; set; }
|
private float overallDifficulty { get; set; }
|
||||||
|
|
||||||
|
public double Length => lengthInSeconds * 1000;
|
||||||
|
|
||||||
[JsonProperty(@"total_length")]
|
[JsonProperty(@"total_length")]
|
||||||
public double Length { get; set; }
|
private double lengthInSeconds { get; set; }
|
||||||
|
|
||||||
[JsonProperty(@"count_circles")]
|
[JsonProperty(@"count_circles")]
|
||||||
private int circleCount { get; set; }
|
private int circleCount { get; set; }
|
||||||
|
Loading…
Reference in New Issue
Block a user