Some moar movement improvements.

WorldChunkRefactoring
Martin Felis 2023-02-12 16:49:47 +01:00
parent f3108b13f5
commit 70724899ad
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}