InOpenList InClosedList add
This commit is contained in:
parent
25040f0ea0
commit
12354f8d6e
@ -92,7 +92,7 @@ def APath(table, start, end):
|
|||||||
|
|
||||||
|
|
||||||
# Child is on the closed list
|
# Child is on the closed list
|
||||||
if InClosedlist(child)==True:
|
if InClosedlist(child)==True:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
child.g = current_node.g + 1
|
child.g = current_node.g + 1
|
||||||
|
Loading…
Reference in New Issue
Block a user