Tiny fix
This commit is contained in:
parent
00b465893f
commit
335d2680c4
|
@ -422,6 +422,9 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
void JustSmall(PlayerActionEvent caller, float state)
|
void JustSmall(PlayerActionEvent caller, float state)
|
||||||
{
|
{
|
||||||
|
GameObject currentBall = currentBalls[0];
|
||||||
|
currentBalls.Remove(currentBall);
|
||||||
|
GameObject.Destroy(currentBall);
|
||||||
if (state >= 1f || state <= -1f)
|
if (state >= 1f || state <= -1f)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
@ -431,6 +434,9 @@ namespace HeavenStudio.Games
|
||||||
|
|
||||||
void JustBig(PlayerActionEvent caller, float state)
|
void JustBig(PlayerActionEvent caller, float state)
|
||||||
{
|
{
|
||||||
|
GameObject currentBall = currentBalls[0];
|
||||||
|
currentBalls.Remove(currentBall);
|
||||||
|
GameObject.Destroy(currentBall);
|
||||||
if (state >= 1f || state <= -1f)
|
if (state >= 1f || state <= -1f)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue