mirror of
https://github.com/ppy/osu.git
synced 2026-06-10 01:33:39 +08:00
Merge conditionals
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user