Fixed Toss Boys Ball Pop Prepare in Touch Mode (#876)

They didnt prepare in touch mode - it;s a holdover from when the ball pop was going to be a flick
This commit is contained in:
wookywok 2024-04-17 17:01:43 -05:00 committed by GitHub
parent 7c8c8b8bfc
commit 543d280c42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -497,7 +497,6 @@ namespace HeavenStudio.Games
else if (passBallDict[beat + length].datamodel == "tossBoys/pop")
{
currentBall.willBePopped = true;
if (PlayerInput.CurrentControlStyle != InputController.ControlStyles.Touch)
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat + length - 1, delegate { GetCurrentReceiver().PopBallPrepare(); })
@ -517,7 +516,6 @@ namespace HeavenStudio.Games
else if (eventDatamodel == "tossBoys/pop")
{
currentBall.willBePopped = true;
if (PlayerInput.CurrentControlStyle != InputController.ControlStyles.Touch)
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat + length - 1, delegate { GetCurrentReceiver().PopBallPrepare(); })
@ -584,7 +582,6 @@ namespace HeavenStudio.Games
if (passBallDict.ContainsKey(beat + currentEventLength) && passBallDict[beat + currentEventLength].datamodel == "tossBoys/pop")
{
currentBall.willBePopped = true;
if (PlayerInput.CurrentControlStyle != InputController.ControlStyles.Touch)
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat + currentEventLength - 1, delegate { GetCurrentReceiver().PopBallPrepare(); })