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
|
||||
if InClosedlist(child)==True:
|
||||
if InClosedlist(child)==True:
|
||||
continue
|
||||
|
||||
child.g = current_node.g + 1
|
||||
|
Loading…
Reference in New Issue
Block a user