From 140ece90fedb7023199261ae7040f6f9e96e6f25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@xover.mud.at>
Date: Thu, 12 Sep 2024 22:32:15 +0200
Subject: [PATCH] footways: bugfix

---
 footways.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/footways.yaml b/footways.yaml
index 11145dc..3fe0a0e 100644
--- a/footways.yaml
+++ b/footways.yaml
@@ -77,6 +77,7 @@ feature:
 
     {% if attribute(tags, 'sidewalk:both') %}
       {% set sidewalk_left = attribute(tags, 'sidewalk:both') %}
+      {% set sidewalk_right = attribute(tags, 'sidewalk:both') %}
       {% set sides = sides|merge(['leftr', 'rightr']) %}
     {% endif %}
 
@@ -264,7 +265,7 @@ feature:
               opacity: 0.3,
               dashArray: '1,10',
               lineCap: butt,
-              color: sidewalk_left in ['no', 'none'] ? '#000000' : const.categories.sidewalk.color
+              color: sidewalk_right in ['no', 'none'] ? '#000000' : const.categories.sidewalk.color
             },
       }) }}
     {% endif %}