Housekeeping.

This commit is contained in:
2024-05-29 16:57:30 +02:00
parent d0c5119d52
commit 484c0cd080

View File

@@ -55,7 +55,7 @@ func find_path(from: Vector2i, to: Vector2i, return_closest: bool = false) -> Ar
assert(_used_rect.has_point(from))
assert(_used_rect.has_point(to))
var res = _astar.find_path(from, to, return_closest) # vrne Variant: null ali Array[Vector2i]
var res = _astar.find_path(from, to, return_closest) # returns Variant: null or Array[Vector2i]
if res != null:
return res