address Fan Club spectator "sticky hands"

This commit is contained in:
minenice55 2022-08-19 17:08:58 -04:00
parent e17db16628
commit 22e06efbff
2 changed files with 4 additions and 4 deletions

View file

@ -732,7 +732,7 @@ namespace HeavenStudio.Games
{
if (Spectators[i].GetComponent<NtrIdolFan>().IsJumping())
continue;
Spectators[i].GetComponent<Animator>().Play("FanPrepare");
Spectators[i].GetComponent<Animator>().Play("FanPrepare", -1, 0);
}
}
@ -741,7 +741,7 @@ namespace HeavenStudio.Games
BeatAction.New(this.gameObject, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { PlayAnimationAll("FanClap", true, true);}),
new BeatAction.Action(beat + 0.25f, delegate { PlayAnimationAll("FanFree", true);}),
new BeatAction.Action(beat + 0.1f, delegate { PlayAnimationAll("FanFree", true, true);}),
});
}
@ -750,7 +750,7 @@ namespace HeavenStudio.Games
BeatAction.New(this.gameObject, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { PlayAnimationAll("FanClap", true, true);}),
new BeatAction.Action(beat + 1f, delegate { PlayAnimationAll("FanFree", true);}),
new BeatAction.Action(beat + 1f, delegate { PlayAnimationAll("FanFree", true, true);}),
});
}

View file

@ -53,7 +53,7 @@ namespace HeavenStudio.Games.Scripts_FanClub
public void ClapJust(PlayerActionEvent caller, float state)
{
bool auto = GameManager.instance.autoplay;
ClapStart(true, false, auto ? 0.25f : 0f);
ClapStart(true, false, auto ? 0.1f : 0f);
}
public void ChargeClapJust(PlayerActionEvent caller, float state)