From 7b6c6b319ae087cb73d29ec17d934d8432b540d5 Mon Sep 17 00:00:00 2001 From: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com> Date: Sun, 11 Jun 2023 14:44:28 +0200 Subject: [PATCH] Fixed hold length --- Assets/Scripts/Games/Fillbots/Fillbots.cs | 2 +- Assets/Scripts/Games/Fillbots/NtrFillbot.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Games/Fillbots/Fillbots.cs b/Assets/Scripts/Games/Fillbots/Fillbots.cs index ad3c2ed9a..5a4f15b5b 100644 --- a/Assets/Scripts/Games/Fillbots/Fillbots.cs +++ b/Assets/Scripts/Games/Fillbots/Fillbots.cs @@ -14,7 +14,7 @@ namespace HeavenStudio.Games.Loaders { new GameAction("medium", "Medium Bot") { - preFunction = delegate { Fillbots.PreSpawnFillbot(eventCaller.currentEntity.beat, 4, Scripts_Fillbots.BotSize.Medium, Scripts_Fillbots.BotVariant.Normal); }, + preFunction = delegate { Fillbots.PreSpawnFillbot(eventCaller.currentEntity.beat, 3, Scripts_Fillbots.BotSize.Medium, Scripts_Fillbots.BotVariant.Normal); }, defaultLength = 8f } }); diff --git a/Assets/Scripts/Games/Fillbots/NtrFillbot.cs b/Assets/Scripts/Games/Fillbots/NtrFillbot.cs index eb2f783ab..789ec40ac 100644 --- a/Assets/Scripts/Games/Fillbots/NtrFillbot.cs +++ b/Assets/Scripts/Games/Fillbots/NtrFillbot.cs @@ -215,7 +215,7 @@ namespace HeavenStudio.Games.Scripts_Fillbots game.filler.DoScaledAnimationAsync("Hold", 0.5f); SoundByte.PlayOneShotGame("fillbots/armExtension"); SoundByte.PlayOneShotGame("fillbots/beep"); - fillSound = SoundByte.PlayOneShotGame("fillbots/water", -1, 1 / ((float)holdLength * 0.25f), 1, true); + fillSound = SoundByte.PlayOneShotGame("fillbots/water", -1, 1 / (float)(holdLength / 3), 1, true); releaseEvent = game.ScheduleInput(startBeat + 4, holdLength, InputType.STANDARD_UP, JustRelease, OutRelease, OutRelease); beepEvent = new GameEvent() {