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:
parent
481e4ed66f
commit
202c8cdad8
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user