Sleep 0.1 s after failing to pathfind to prevent timeouts
This commit is contained in:
@@ -61,6 +61,7 @@ class GrabSandStates:
|
||||
return
|
||||
else:
|
||||
print('Cant get to sand', self.sand)
|
||||
time.sleep(0.1)
|
||||
|
||||
print('Cant get to any more sand, aborting')
|
||||
self.state = self.cleanup
|
||||
|
||||
Reference in New Issue
Block a user