From e22cec6679d8cb75b29271239df0e02b2c2bab6e Mon Sep 17 00:00:00 2001 From: wookywok <62037083+wookywok@users.noreply.github.com> Date: Wed, 17 Apr 2024 13:19:17 -0500 Subject: [PATCH] Revert "Vignette Spotlight + two bugfixes" This reverts the toss boys script, that's gonna be a separate pr --- Assets/Scripts/Games/TossBoys/TossBoys.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/Games/TossBoys/TossBoys.cs b/Assets/Scripts/Games/TossBoys/TossBoys.cs index c2026a359..b33abfc70 100644 --- a/Assets/Scripts/Games/TossBoys/TossBoys.cs +++ b/Assets/Scripts/Games/TossBoys/TossBoys.cs @@ -497,7 +497,7 @@ 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() { new BeatAction.Action(beat + length - 1, delegate { GetCurrentReceiver().PopBallPrepare(); }) @@ -517,7 +517,7 @@ namespace HeavenStudio.Games else if (eventDatamodel == "tossBoys/pop") { currentBall.willBePopped = true; - + if (PlayerInput.CurrentControlStyle != InputController.ControlStyles.Touch) BeatAction.New(instance, new List() { new BeatAction.Action(beat + length - 1, delegate { GetCurrentReceiver().PopBallPrepare(); }) @@ -584,7 +584,7 @@ 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() { new BeatAction.Action(beat + currentEventLength - 1, delegate { GetCurrentReceiver().PopBallPrepare(); })