mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09: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