Skip to content
Snippets Groups Projects
Commit 00ef8d86 authored by Alifia Rahmah's avatar Alifia Rahmah
Browse files

refactor(pet): change base.nav to nav

parent 5e1dba86
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ public class PetHealerBuffMovement : PetMovement ...@@ -20,7 +20,7 @@ public class PetHealerBuffMovement : PetMovement
// Run away from enemy // Run away from enemy
if (GetComponent<UnityEngine.AI.NavMeshAgent>().enabled) if (GetComponent<UnityEngine.AI.NavMeshAgent>().enabled)
{ {
base.nav.SetDestination(newPos); nav.SetDestination(newPos);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment