Skip to content

Commit

Permalink
Set bricks to be active when reset
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgraham committed Sep 16, 2021
1 parent b4655a9 commit 03454ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Scripts/Brick.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ private void Start()

public void ResetBrick()
{
this.gameObject.SetActive(true);

if (!this.unbreakable)
{
this.health = this.states.Length;
Expand Down

0 comments on commit 03454ab

Please sign in to comment.