From dfb1e0d7e8b62dd72a5370b2aa8e2e07236189ce Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Wed, 2 Mar 2016 15:25:58 +0100 Subject: re-enable escape mode --- strategy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strategy.py b/strategy.py index 6579ae0..13473a2 100644 --- a/strategy.py +++ b/strategy.py @@ -253,7 +253,7 @@ class Strategy: else: allowed_dist = "don't care" - if allowed_dist != "don't care" and dist < allowed_dist and False: + if allowed_dist != "don't care" and dist < allowed_dist: try: angle = math.atan2(relpos[1],relpos[0]) corridor_halfwidth = math.asin(min(1, cell.size / dist)) -- cgit v1.2.3