Merge pull request #470 from Rapandrasmus/WorkingDoughFixes

Fixed small balls not working in working dough
This commit is contained in:
minenice55 2023-06-13 16:09:21 +00:00 committed by GitHub
commit aff1e3d889
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,7 +147,8 @@ namespace HeavenStudio.Games.Scripts_WorkingDough
SoundByte.PlayOneShotGame("workingDough/hitSmallPlayer");
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>()
{
new BeatAction.Action(beat + 0.9f, delegate { game.arrowSRRightPlayer.sprite = game.redArrowSprite; }),