Flipped up and down in code
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
return;
|
||||
}
|
||||
verticalValue = Math.Abs(value);
|
||||
if (value < -0.5)
|
||||
if (value > 0.5)
|
||||
{
|
||||
inputVertical = Direction.Up;
|
||||
if (verticalValue >= horizontalValue)
|
||||
@@ -108,7 +108,7 @@
|
||||
SetPriority(false);
|
||||
}
|
||||
}
|
||||
else if (value > 0.5)
|
||||
else if (value < -0.5)
|
||||
{
|
||||
inputVertical = Direction.Down;
|
||||
if (verticalValue >= horizontalValue)
|
||||
|
||||
Reference in New Issue
Block a user