1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 16:43:00 +08:00

Remove redundant else statement

This commit is contained in:
smoogipoo 2019-05-15 10:55:02 +09:00
parent 5e1f80ceb5
commit cbf662eb56

View File

@ -65,8 +65,8 @@ namespace osu.Game.Rulesets.Osu.UI
{ {
if (Objects.FirstOrDefault() is OsuHitObject first) if (Objects.FirstOrDefault() is OsuHitObject first)
return first.StartTime - Math.Max(2000, first.TimePreempt); return first.StartTime - Math.Max(2000, first.TimePreempt);
else
return 0; return 0;
} }
} }
} }