diff --git a/lokbot/farmer.py b/lokbot/farmer.py index 72865875..ae7e1cef 100644 --- a/lokbot/farmer.py +++ b/lokbot/farmer.py @@ -610,6 +610,7 @@ def _on_field_objects_gather(self, each_obj): return self._start_march(to_loc, march_troops, MARCH_TYPE_GATHER, self.available_dragos[0]['_id']) + return self._start_march(to_loc, march_troops, MARCH_TYPE_GATHER) @@ -793,7 +794,7 @@ def on_field_objects(data): except OtherException as error_code: if str(error_code) in ( 'full_task', 'not_enough_troop', 'insufficient_actionpoint', 'not_open_gate', - 'no_drago_action_point' + 'no_drago_action_point', 'no_drago' ): logger.warning(f'on_field_objects: {error_code}, skip') self.field_object_processed = True