From 22e06efbff8dc237549998188dc1cc53b6c56535 Mon Sep 17 00:00:00 2001 From: minenice55 Date: Fri, 19 Aug 2022 17:08:58 -0400 Subject: [PATCH] address Fan Club spectator "sticky hands" --- Assets/Scripts/Games/FanClub/FanClub.cs | 6 +++--- Assets/Scripts/Games/FanClub/NtrIdolFan.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/Scripts/Games/FanClub/FanClub.cs b/Assets/Scripts/Games/FanClub/FanClub.cs index 13b828da..0998b081 100644 --- a/Assets/Scripts/Games/FanClub/FanClub.cs +++ b/Assets/Scripts/Games/FanClub/FanClub.cs @@ -732,7 +732,7 @@ namespace HeavenStudio.Games { if (Spectators[i].GetComponent().IsJumping()) continue; - Spectators[i].GetComponent().Play("FanPrepare"); + Spectators[i].GetComponent().Play("FanPrepare", -1, 0); } } @@ -741,7 +741,7 @@ namespace HeavenStudio.Games BeatAction.New(this.gameObject, new List() { 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() { 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);}), }); } diff --git a/Assets/Scripts/Games/FanClub/NtrIdolFan.cs b/Assets/Scripts/Games/FanClub/NtrIdolFan.cs index 23b20a1b..b29ddb52 100644 --- a/Assets/Scripts/Games/FanClub/NtrIdolFan.cs +++ b/Assets/Scripts/Games/FanClub/NtrIdolFan.cs @@ -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)