From 0f02b0844d2c2b8f71d1e7844f14ecf79864e908 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@cg.tuwien.ac.at>
Date: Mon, 4 Nov 2024 08:54:46 +0100
Subject: [PATCH] car_maxspeed: bugfix, rotate traffic sign when direction=0

---
 car_maxspeed.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/car_maxspeed.yaml b/car_maxspeed.yaml
index afa960e..42f5c55 100644
--- a/car_maxspeed.yaml
+++ b/car_maxspeed.yaml
@@ -142,7 +142,7 @@ feature:
     {% if not tags.highway %}
     <span style='font-size: 8pt;
 
-    {% if tags.direction %}
+    {% if tags.direction != null %}
       transform: rotate({{ tags.direction|parseDirection|default(0) + 180 }}deg);
     {% endif %}