Fix error in `AstarGrid2D::get_id_path`

This commit is contained in:
Yuri Rubinsky 2023-01-08 10:34:33 +03:00
parent fcba87e696
commit 6640eb8065
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ TypedArray<Vector2i> AStarGrid2D::get_id_path(const Vector2i &p_from_id, const V
if (a == b) {
TypedArray<Vector2i> ret;
ret.push_back(a);
ret.push_back(a->id);
return ret;
}