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