Sleep 0.1 s after failing to pathfind to prevent timeouts
This commit is contained in:
@@ -100,6 +100,7 @@ class GrabSuppliesStates:
|
||||
return
|
||||
else:
|
||||
print('No path, blacklisting barrel')
|
||||
time.sleep(0.1)
|
||||
self.bad_barrels.append(self.barrel)
|
||||
self.state = self.choose_barrel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user