1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-10 01:33:39 +08:00

Merge conditionals

This commit is contained in:
Dean Herbert
2018-11-14 11:53:34 +09:00
Unverified
parent 4c9dcdf156
commit c77412992e
+1 -1
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;