This commit is contained in:
Rapandrasmus 2023-01-16 21:36:19 +01:00
parent 00b465893f
commit 335d2680c4

View file

@ -422,6 +422,9 @@ namespace HeavenStudio.Games
void JustSmall(PlayerActionEvent caller, float state)
{
GameObject currentBall = currentBalls[0];
currentBalls.Remove(currentBall);
GameObject.Destroy(currentBall);
if (state >= 1f || state <= -1f)
{
return;
@ -431,6 +434,9 @@ namespace HeavenStudio.Games
void JustBig(PlayerActionEvent caller, float state)
{
GameObject currentBall = currentBalls[0];
currentBalls.Remove(currentBall);
GameObject.Destroy(currentBall);
if (state >= 1f || state <= -1f)
{
return;