1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:13:21 +08:00

Remove now unneeded Math.Abs call

This commit is contained in:
smoogipoo 2018-02-08 14:15:47 +09:00
parent 17aa915c77
commit 3d167c40ae

View File

@ -1,7 +1,6 @@
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Linq;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Objects.Drawables;
@ -43,7 +42,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
return;
}
var result = HitObject.HitWindows.ResultFor(Math.Abs(timeOffset));
var result = HitObject.HitWindows.ResultFor(timeOffset);
if (result == null)
return;