TO SQUASH: Fixed issue.
This commit is contained in:
@@ -54,6 +54,14 @@ public class BallBase : MonoBehaviour
|
||||
{
|
||||
player.GetComponent<Player>().OnBarHit();
|
||||
}
|
||||
|
||||
// Notify other systems if needed.
|
||||
var worldFiller = GameObject.FindGameObjectWithTag("WorldFiller");
|
||||
|
||||
if (worldFiller != null)
|
||||
{
|
||||
worldFiller.GetComponent<WorldFiller>().ClearWalls();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user