fix to interaction between fish and end block

This commit is contained in:
Rapandrasmus 2023-06-25 22:31:22 +02:00
parent a9ac120c81
commit 1ff0aef213

View file

@ -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);