From 81959fae8e7d469abbcf9df4fdc4bbbba5272ada Mon Sep 17 00:00:00 2001 From: mjmadsen Date: Mon, 15 Aug 2016 20:00:06 -0500 Subject: [PATCH 1/2] Fixed error --- pokemongo_bot/cell_workers/follow_spiral.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemongo_bot/cell_workers/follow_spiral.py b/pokemongo_bot/cell_workers/follow_spiral.py index 8dbab17546..f956f352eb 100644 --- a/pokemongo_bot/cell_workers/follow_spiral.py +++ b/pokemongo_bot/cell_workers/follow_spiral.py @@ -114,7 +114,7 @@ def work(self): } ) - if dist <= 1 or (self.bot.config.walk > 0 and step_walker == None): + if dist <= 1 or (self.bot.config.walk_min > 0 and step_walker == None): if self.ptr + self.direction >= len(self.points) or self.ptr + self.direction <= -1: self.direction *= -1 if len(self.points) != 1: From ad7fdb940dbf816d798fa419b7c009bf91d13ea1 Mon Sep 17 00:00:00 2001 From: mjmadsen Date: Mon, 15 Aug 2016 20:01:35 -0500 Subject: [PATCH 2/2] Fixed error --- pokemongo_bot/cell_workers/follow_path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemongo_bot/cell_workers/follow_path.py b/pokemongo_bot/cell_workers/follow_path.py index bf05d14984..055150070a 100644 --- a/pokemongo_bot/cell_workers/follow_path.py +++ b/pokemongo_bot/cell_workers/follow_path.py @@ -126,7 +126,7 @@ def work(self): lng ) - if dist <= 1 or (self.bot.config.walk > 0 and is_at_destination): + if dist <= 1 or (self.bot.config.walk_min > 0 and is_at_destination): if (self.ptr + 1) == len(self.points): self.ptr = 0 if self.path_mode == 'linear':