InOpenList InClosedList add

This commit is contained in:
Maciej Sobkowiak 2019-04-29 11:49:34 +02:00
parent 25040f0ea0
commit 12354f8d6e

View File

@ -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