summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--strategy.py2
1 files changed, 1 insertions, 1 deletions
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))