From d94b3b38f4abe3af07b2af581ed733db6b70917d Mon Sep 17 00:00:00 2001 From: minenice55 Date: Sun, 14 Jan 2024 16:53:02 -0500 Subject: [PATCH] remove space soccer swing --- Assets/Scripts/Games/SpaceSoccer/Ball.cs | 4 +--- Assets/Scripts/Games/SpaceSoccer/Kicker.cs | 4 +--- Assets/Scripts/Games/SpaceSoccer/SpaceSoccer.cs | 4 ---- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Assets/Scripts/Games/SpaceSoccer/Ball.cs b/Assets/Scripts/Games/SpaceSoccer/Ball.cs index 55edff2ef..d82d900fb 100644 --- a/Assets/Scripts/Games/SpaceSoccer/Ball.cs +++ b/Assets/Scripts/Games/SpaceSoccer/Ball.cs @@ -81,9 +81,7 @@ namespace HeavenStudio.Games.Scripts_SpaceSoccer } else { - highKickSwing = highKicks[i]["swing"]; - if (highKickSwing == 0f) - highKickSwing = 0.5f; + highKickSwing = 0.5f; if (highKicks[i].beat + GetAnimLength(State.HighKicked) > currentBeat) { diff --git a/Assets/Scripts/Games/SpaceSoccer/Kicker.cs b/Assets/Scripts/Games/SpaceSoccer/Kicker.cs index 21f09071b..510dd3b3a 100644 --- a/Assets/Scripts/Games/SpaceSoccer/Kicker.cs +++ b/Assets/Scripts/Games/SpaceSoccer/Kicker.cs @@ -253,9 +253,7 @@ namespace HeavenStudio.Games.Scripts_SpaceSoccer if (ball) { - ball.highKickSwing = highKicks[i]["swing"]; - if (ball.highKickSwing == 0f) - ball.highKickSwing = 0.5f; + ball.highKickSwing = 0.5f; } break; } diff --git a/Assets/Scripts/Games/SpaceSoccer/SpaceSoccer.cs b/Assets/Scripts/Games/SpaceSoccer/SpaceSoccer.cs index 8461ff16a..d73e66b78 100644 --- a/Assets/Scripts/Games/SpaceSoccer/SpaceSoccer.cs +++ b/Assets/Scripts/Games/SpaceSoccer/SpaceSoccer.cs @@ -33,10 +33,6 @@ namespace HeavenStudio.Games.Loaders new GameAction("high kick-toe!", "High Kick-Toe!") { defaultLength = 3f, - parameters = new List() - { - new Param("swing", new EntityTypes.Float(0, 1, 0.5f), "Swing", "Set the amount of swing for the cue. MINENICE REMOVE THIS >:((((((") - } }, new GameAction("npc kickers enter or exit", "NPC Kickers") {