Sleep 0.1 s after failing to pathfind to prevent timeouts
This commit is contained in:
@@ -81,6 +81,7 @@ class SleepWithBedStates:
|
||||
self.beds.pop(0)
|
||||
self.bad_beds.append(bed)
|
||||
print('Cant get to bed, blacklisting')
|
||||
time.sleep(0.1)
|
||||
self.state = self.select_bed
|
||||
|
||||
def going_to_bed(self):
|
||||
|
||||
Reference in New Issue
Block a user