Add length display to room screen as well

This commit is contained in:
Dean Herbert
2020-12-03 16:42:06 +09:00
parent 598572195c
commit 3550e5b30f
4 changed files with 23 additions and 8 deletions

View File

@ -75,6 +75,7 @@ namespace osu.Game.Online.API.Requests.Responses
StarDifficulty = starDifficulty,
OnlineBeatmapID = OnlineBeatmapID,
Version = version,
// this is actually an incorrect mapping (Length is calculated as drain length in lazer's import process, see BeatmapManager.calculateLength).
Length = TimeSpan.FromSeconds(length).TotalMilliseconds,
Status = Status,
BeatmapSet = set,