mirror of
https://github.com/osukey/osukey.git
synced 2025-05-09 15:47:38 +09: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));
|
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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user