From 1ff0aef2134b53620e269f06ac25708a1240185b Mon Sep 17 00:00:00 2001 From: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com> Date: Sun, 25 Jun 2023 22:31:22 +0200 Subject: [PATCH] fix to interaction between fish and end block --- Assets/Scripts/Games/NightWalkAgb/AgbPlatform.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Games/NightWalkAgb/AgbPlatform.cs b/Assets/Scripts/Games/NightWalkAgb/AgbPlatform.cs index b5af4296b..13bfc7eb5 100644 --- a/Assets/Scripts/Games/NightWalkAgb/AgbPlatform.cs +++ b/Assets/Scripts/Games/NightWalkAgb/AgbPlatform.cs @@ -94,7 +94,7 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk }), new BeatAction.Action(endBeat + 0.5, delegate { - if (GameManager.instance.autoplay && !stopped) + if (GameManager.instance.autoplay && !stopped && !isEndEvent) { anim.DoScaledAnimationAsync("Note", 0.5f); SoundByte.PlayOneShotGame("nightWalkAgb/open" + (int)type);