Apply sign work zones before candidate routing
This commit is contained in:
@@ -80,6 +80,8 @@ class PlantTreeStates:
|
||||
p = utils.pint(self.g.pos)
|
||||
|
||||
for opening in w.find_tree_openings(p)[::-1]:
|
||||
if not w.work_position_allowed(opening):
|
||||
continue
|
||||
print('trying sapling opening', opening)
|
||||
navpath = w.path_to_place(p, opening)
|
||||
if navpath:
|
||||
|
||||
Reference in New Issue
Block a user