diff --git a/theProject/Assets/Scripts/Entities/Soldier.cs b/theProject/Assets/Scripts/Entities/Soldier.cs index fcfe7155..158b6235 100644 --- a/theProject/Assets/Scripts/Entities/Soldier.cs +++ b/theProject/Assets/Scripts/Entities/Soldier.cs @@ -30,7 +30,7 @@ public class Soldier : Entity return; // cannot find path: do nothing (for now) } - Vector2Int movementStepDestination = path[path.Count - 1]; + Vector2Int movementStepDestination = path[0]; if (!TilemapManager.MoveSoldierS(soldier.tileCoord.x, soldier.tileCoord.y, movementStepDestination.x, movementStepDestination.y))