This commit is contained in:
Oscar 2024-03-17 01:44:13 +03:00
parent 84518bdb82
commit c78a0ca636

View File

@ -60,10 +60,11 @@ public partial class EnemyController : Pawn
networkGameManager = NetworkGameManager.singleton;
players = networkManager.alive;
if (!isServer) return;
this.OnDamage += TakeDamageAnimation;
if (!isServer) return;
navMeshData = NavMesh.CalculateTriangulation();
if (spawnCube)