mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-08 18:55:07 +00:00
Fixed small balls not working in working dough
This commit is contained in:
parent
bdef3f95c3
commit
3d19e75e1a
1 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,8 @@ namespace HeavenStudio.Games.Scripts_WorkingDough
|
||||||
SoundByte.PlayOneShotGame("workingDough/hitSmallPlayer");
|
SoundByte.PlayOneShotGame("workingDough/hitSmallPlayer");
|
||||||
game.doughDudesPlayer.GetComponent<Animator>().Play("SmallDoughJump", 0, 0);
|
game.doughDudesPlayer.GetComponent<Animator>().Play("SmallDoughJump", 0, 0);
|
||||||
}
|
}
|
||||||
bool hasGandw = gandw.activeSelf;
|
bool hasGandw = false;
|
||||||
|
if (gandw != null) hasGandw = gandw.activeSelf;
|
||||||
BeatAction.New(game.gameObject, new List<BeatAction.Action>()
|
BeatAction.New(game.gameObject, new List<BeatAction.Action>()
|
||||||
{
|
{
|
||||||
new BeatAction.Action(beat + 0.9f, delegate { game.arrowSRRightPlayer.sprite = game.redArrowSprite; }),
|
new BeatAction.Action(beat + 0.9f, delegate { game.arrowSRRightPlayer.sprite = game.redArrowSprite; }),
|
||||||
|
|
Loading…
Reference in a new issue