diff --git a/Assets/Scripts/Games/WorkingDough/PlayerEnterDoughBall.cs b/Assets/Scripts/Games/WorkingDough/PlayerEnterDoughBall.cs index f216a18f..dd1f6c29 100644 --- a/Assets/Scripts/Games/WorkingDough/PlayerEnterDoughBall.cs +++ b/Assets/Scripts/Games/WorkingDough/PlayerEnterDoughBall.cs @@ -147,7 +147,8 @@ namespace HeavenStudio.Games.Scripts_WorkingDough SoundByte.PlayOneShotGame("workingDough/hitSmallPlayer"); game.doughDudesPlayer.GetComponent().Play("SmallDoughJump", 0, 0); } - bool hasGandw = gandw.activeSelf; + bool hasGandw = false; + if (gandw != null) hasGandw = gandw.activeSelf; BeatAction.New(game.gameObject, new List() { new BeatAction.Action(beat + 0.9f, delegate { game.arrowSRRightPlayer.sprite = game.redArrowSprite; }),