From b780c112bd8c0d3e8e1cd7eb95e12703960cb458 Mon Sep 17 00:00:00 2001 From: wookywok <62037083+wookywok@users.noreply.github.com> Date: Tue, 5 Mar 2024 13:52:55 -0600 Subject: [PATCH] fixed a sound effect playing at the wrong time --- Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs b/Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs index 7823c771a..0187272c5 100644 --- a/Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs +++ b/Assets/Scripts/Games/NailCarpenter/NailCarpenter.cs @@ -38,7 +38,7 @@ namespace HeavenStudio.Games.Loaders defaultLength = 4f, resizable = true }, - new GameAction("slideShoji", "Slide Shoji") + new GameAction("slideFusuma", "Slide Shoji") { function = delegate { var e = eventCaller.currentEntity; @@ -301,7 +301,7 @@ namespace HeavenStudio.Games if (startBeat <= targetNailBeat && targetNailBeat < endBeat) { sounds.Add(new MultiSound.Sound("nailCarpenter/signal1", targetNailBeat)); - sounds.Add(new MultiSound.Sound("nailCarpenter/signal2", targetNailBeat+1f)); + sounds.Add(new MultiSound.Sound("nailCarpenter/signal2", targetNailBeat+2f)); BeatAction.New(instance, new List() { new BeatAction.Action(targetNailBeat, delegate