From cec1bbc2868eb0cb6dec6f80c7e11948fbb8cb0e Mon Sep 17 00:00:00 2001 From: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Date: Sat, 29 Oct 2022 17:11:00 +1000 Subject: [PATCH] Conflict resolution --- code/defines/procs/AStar.dm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/code/defines/procs/AStar.dm b/code/defines/procs/AStar.dm index 316ac06b3ae..c29ffef73fb 100644 --- a/code/defines/procs/AStar.dm +++ b/code/defines/procs/AStar.dm @@ -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)