diff --git a/Assets/Mirror/Examples/TestNT/Scripts/NPCHandler.cs b/Assets/Mirror/Examples/TestNT/Scripts/NPCHandler.cs index 36ba18668..f2ac179ba 100644 --- a/Assets/Mirror/Examples/TestNT/Scripts/NPCHandler.cs +++ b/Assets/Mirror/Examples/TestNT/Scripts/NPCHandler.cs @@ -38,7 +38,6 @@ void CmdSpawnNPC() Vector3 spawnPos = transform.position + Vector3.forward; GameObject npc = Instantiate(NetworkManager.singleton.spawnPrefabs[0], spawnPos, Quaternion.identity); npc.GetComponent().playerName = "NPC"; - npc.GetComponent().syncDirection = SyncDirection.ServerToClient; npc.GetComponent().enabled = true; npc.GetComponent().enabled = true; NetworkServer.Spawn(npc);