Fixed movement stopping between tiles.
parent
f7dca6ae20
commit
1693b63730
|
@ -126,9 +126,10 @@ public class NavigationComponent : Node
|
|||
{
|
||||
_pathWorldNavigationPoints.RemoveAt(_pathWorldNavigationPoints.Count - 1);
|
||||
}
|
||||
_pathWorldNavigationPoints.Add(new NavigationPoint(toPositionWorld));
|
||||
}
|
||||
|
||||
_pathWorldNavigationPoints.Add(new NavigationPoint(toPositionWorld));
|
||||
|
||||
UpdateCurrentGoal();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue