Conflict resolution

This commit is contained in:
Heroman3003
2022-10-29 17:11:00 +10:00
committed by GitHub
parent e70d5b7986
commit cec1bbc286
-6
View File
@@ -134,13 +134,7 @@ length to avoid portals or something i guess?? Not that they're counted right no
open.Enqueue(new /PathNode(start, null, 0, call(start, dist)(end), 0))
<<<<<<< HEAD
while(!open.IsEmpty() && !path)
=======
var/sanity = 500 // From some local testing, AStar() tends to hit tick check or succeed around the 450 mark.
while(!open.IsEmpty() && !path && sanity)
sanity--
>>>>>>> 5903278048c... Merge pull request #8799 from Doctress/boozycops
var/PathNode/current = open.Dequeue()
closed.Add(current.position)