1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Add braces to satisfy codefactor

This commit is contained in:
Dean Herbert 2020-03-14 15:35:59 +09:00
parent 481e4ed66f
commit 202c8cdad8

View File

@ -348,8 +348,8 @@ namespace osu.Game.Rulesets.Catch.UI
UpdatePosition((float)(X + direction * Clock.ElapsedFrameTime * speed));
// Correct overshooting.
if (hyperDashDirection > 0 && hyperDashTargetPosition < X ||
hyperDashDirection < 0 && hyperDashTargetPosition > X)
if ((hyperDashDirection > 0 && hyperDashTargetPosition < X) ||
(hyperDashDirection < 0 && hyperDashTargetPosition > X))
{
X = hyperDashTargetPosition;
SetHyperDashState();