diff --git a/Assets/Scripts/src/Wall/WallTransparency.cs b/Assets/Scripts/src/Wall/WallTransparency.cs index baf2509..e1eedc9 100644 --- a/Assets/Scripts/src/Wall/WallTransparency.cs +++ b/Assets/Scripts/src/Wall/WallTransparency.cs @@ -18,7 +18,7 @@ namespace src.Wall { _spriteRenderer = GetComponentInChildren(); _originalSpriteColor = _spriteRenderer.color; - StartCoroutine(nameof(CheckIfSomethingNear)); + StartCoroutine(CheckIfSomethingNear()); } private IEnumerator CheckIfSomethingNear()