mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
Merge pull request #12076 from Menshin/letsbeaheapstar
Some datastructures and A* tweaks
This commit is contained in:
@@ -619,7 +619,7 @@
|
||||
if((C.l_hand && C.l_hand.w_class <= 2) || (C.r_hand && C.r_hand.w_class <= 2))
|
||||
item = C
|
||||
if(item)
|
||||
if(!AStar(loc, get_turf(item), src, /turf/proc/Distance))
|
||||
if(!AStar(loc, get_turf(item), src, /turf/proc/Distance_cardinal))
|
||||
item = null
|
||||
continue
|
||||
return item
|
||||
|
||||
Reference in New Issue
Block a user