fixed a sound effect playing at the wrong time
This commit is contained in:
parent
f711336291
commit
b780c112bd
|
@ -38,7 +38,7 @@ namespace HeavenStudio.Games.Loaders
|
||||||
defaultLength = 4f,
|
defaultLength = 4f,
|
||||||
resizable = true
|
resizable = true
|
||||||
},
|
},
|
||||||
new GameAction("slideShoji", "Slide Shoji")
|
new GameAction("slideFusuma", "Slide Shoji")
|
||||||
{
|
{
|
||||||
function = delegate {
|
function = delegate {
|
||||||
var e = eventCaller.currentEntity;
|
var e = eventCaller.currentEntity;
|
||||||
|
@ -301,7 +301,7 @@ namespace HeavenStudio.Games
|
||||||
if (startBeat <= targetNailBeat && targetNailBeat < endBeat)
|
if (startBeat <= targetNailBeat && targetNailBeat < endBeat)
|
||||||
{
|
{
|
||||||
sounds.Add(new MultiSound.Sound("nailCarpenter/signal1", targetNailBeat));
|
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<BeatAction.Action>()
|
BeatAction.New(instance, new List<BeatAction.Action>()
|
||||||
{
|
{
|
||||||
new BeatAction.Action(targetNailBeat, delegate
|
new BeatAction.Action(targetNailBeat, delegate
|
||||||
|
|
Loading…
Reference in a new issue