Merge pull request #71052 from Chaosus/fix_astargrid2d

Fix error in `AstarGrid2D::get_id_path`
This commit is contained in:
Rémi Verschelde 2023-01-08 22:40:41 +01:00
commit eff2739cf7
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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