Some moar movement improvements.
parent
f3108b13f5
commit
70724899ad
|
@ -87,7 +87,7 @@ public class NavigationComponent : Node
|
|||
Globals.EpsPositionSquared)
|
||||
{
|
||||
// Remove the last one, because it is only the position rounded to HexGrid coordinates.
|
||||
if (_pathWorldNavigationPoints.Count > 1)
|
||||
if (_pathWorldNavigationPoints.Count > 0)
|
||||
{
|
||||
_pathWorldNavigationPoints.RemoveAt(_pathWorldNavigationPoints.Count - 1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue