1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 11:53:21 +08:00

Merge conditionals

This commit is contained in:
Dean Herbert 2018-11-14 11:53:34 +09:00
parent 4c9dcdf156
commit c77412992e

View File

@ -247,7 +247,7 @@ namespace osu.Game.Overlays
var track = (current?.TrackLoaded ?? false) ? current.Track : null;
if (track != null && !track.IsDummyDevice)
if (track?.IsDummyDevice == false)
{
progressBar.EndTime = track.Length;
progressBar.CurrentTime = track.CurrentTime;