From 817188595d3f0c64f70dcd9869b2e90d8de67449 Mon Sep 17 00:00:00 2001 From: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com> Date: Sun, 25 Jun 2023 22:37:07 +0200 Subject: [PATCH] removed fish sound --- Assets/Scripts/Games/NightWalkAgb/AgbNightWalk.cs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Assets/Scripts/Games/NightWalkAgb/AgbNightWalk.cs b/Assets/Scripts/Games/NightWalkAgb/AgbNightWalk.cs index a0528b5af..26203e06e 100644 --- a/Assets/Scripts/Games/NightWalkAgb/AgbNightWalk.cs +++ b/Assets/Scripts/Games/NightWalkAgb/AgbNightWalk.cs @@ -61,12 +61,7 @@ namespace HeavenStudio.Games.Loaders }, new GameAction("fish", "Electric Fish") { - preFunction = delegate { if (!eventCaller.currentEntity["mute"]) AgbNightWalk.FishSound(eventCaller.currentEntity.beat); }, - parameters = new List() - { - new Param("mute", false, "Mute Cue") - }, - preFunctionLength = 1 + }, new GameAction("end", "End") { @@ -314,7 +309,7 @@ namespace HeavenStudio.Games } } - public static void FishSound(double beat) + /*public static void FishSound(double beat) { if (GameManager.instance.currentGame == "nightWalkAgb" && instance.platformHandler.PlatformsStopped()) return; MultiSound.Play(new MultiSound.Sound[] @@ -323,7 +318,7 @@ namespace HeavenStudio.Games new MultiSound.Sound("nightWalkAgb/fish2", beat - 0.75), new MultiSound.Sound("nightWalkAgb/fish3", beat - 0.5), }, forcePlay: true); - } + }*/ public static void WalkingCountIn(double beat, float length) {