mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 20:07:29 +08:00
Simplify misc null-coalescing expression.
This commit is contained in:
parent
11cba0638d
commit
cd7c04c54d
@ -122,8 +122,10 @@ namespace osu.Game.Screens.Play
|
||||
audio.Track.SetExclusive(track);
|
||||
adjustableSourceClock = track;
|
||||
}
|
||||
|
||||
adjustableSourceClock = (IAdjustableClock)track ?? new StopwatchClock();
|
||||
else
|
||||
{
|
||||
adjustableSourceClock = new StopwatchClock();
|
||||
}
|
||||
|
||||
decoupledClock = new DecoupleableInterpolatingFramedClock { IsCoupled = false };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user