A game framework written with osu! in mind.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add back null check/exception

+4 -2
+4 -2
osu.Framework/Timing/DecoupleableInterpolatingFramedClock.cs
··· 56 56 get => Source?.Rate ?? 1; 57 57 set 58 58 { 59 - if (adjustableSource != null) 60 - adjustableSource.Rate = value; 59 + if (adjustableSource == null) 60 + throw new NotSupportedException("Source is not adjustable."); 61 + 62 + adjustableSource.Rate = value; 61 63 } 62 64 } 63 65