1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 07:49:52 +08:00

Simplify misc null-coalescing expression.

This commit is contained in:
Huo Yaoyuan
2017-07-18 12:28:03 +08:00
Unverified
parent 11cba0638d
commit cd7c04c54d
+4 -2
View File
@@ -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 };