Now ignoring this error

This commit is contained in:
BOT Alex 2024-02-04 06:51:07 +01:00
parent 31aeb72f27
commit 71c1471a4e
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ public class EnemyPathFinding : MonoBehaviour
if (Physics2D.Raycast(transform.position, dir.normalized, ropeDistCheck, ropeCheckMask)) return;
agent.SetDestination(closestTarget.position);
try { agent.SetDestination(closestTarget.position); } catch { }// Fuck this error.
}
private Transform GetClosestTarget()