diff --git a/Assets/Scripts/Games/SpaceSoccer/Ball.cs b/Assets/Scripts/Games/SpaceSoccer/Ball.cs index 0800ef6c3..ff0d92371 100644 --- a/Assets/Scripts/Games/SpaceSoccer/Ball.cs +++ b/Assets/Scripts/Games/SpaceSoccer/Ball.cs @@ -85,6 +85,9 @@ namespace RhythmHeavenMania.Games.SpaceSoccer else { highKickSwing = highKicks[i].swing; + if (highKickSwing == 0f) + highKickSwing = 0.5f; + if (highKicks[i].beat + GetAnimLength(State.HighKicked) > currentBeat) { //Debug.Log("Setting state to high kick"); diff --git a/Assets/Scripts/Games/SpaceSoccer/Kicker.cs b/Assets/Scripts/Games/SpaceSoccer/Kicker.cs index 357f2e110..0febffa24 100644 --- a/Assets/Scripts/Games/SpaceSoccer/Kicker.cs +++ b/Assets/Scripts/Games/SpaceSoccer/Kicker.cs @@ -203,7 +203,11 @@ namespace RhythmHeavenMania.Games.SpaceSoccer canKick = false; if (ball) + { ball.highKickSwing = highKicks[i].swing; + if (ball.highKickSwing == 0f) + ball.highKickSwing = 0.5f; + } break; } else