mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 08:03:52 +09:00
Simplify misc null-coalescing expression.
This commit is contained in:
@ -122,8 +122,10 @@ namespace osu.Game.Screens.Play
|
|||||||
audio.Track.SetExclusive(track);
|
audio.Track.SetExclusive(track);
|
||||||
adjustableSourceClock = track;
|
adjustableSourceClock = track;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
adjustableSourceClock = (IAdjustableClock)track ?? new StopwatchClock();
|
{
|
||||||
|
adjustableSourceClock = new StopwatchClock();
|
||||||
|
}
|
||||||
|
|
||||||
decoupledClock = new DecoupleableInterpolatingFramedClock { IsCoupled = false };
|
decoupledClock = new DecoupleableInterpolatingFramedClock { IsCoupled = false };
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user