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)); UpdatePosition((float)(X + direction * Clock.ElapsedFrameTime * speed));
// Correct overshooting. // Correct overshooting.
if (hyperDashDirection > 0 && hyperDashTargetPosition < X || if ((hyperDashDirection > 0 && hyperDashTargetPosition < X) ||
hyperDashDirection < 0 && hyperDashTargetPosition > X) (hyperDashDirection < 0 && hyperDashTargetPosition > X))
{ {
X = hyperDashTargetPosition; X = hyperDashTargetPosition;
SetHyperDashState(); SetHyperDashState();