From 39e5beba55e7aa1127985836c9b8d1ffeb6eb717 Mon Sep 17 00:00:00 2001 From: Michael Kreil Date: Sun, 7 Dec 2025 19:54:44 +0100 Subject: [PATCH 1/2] fix: typo in bridge handling condition --- process.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process.lua b/process.lua index 9673d18..85c325a 100644 --- a/process.lua +++ b/process.lua @@ -145,7 +145,7 @@ function setZOrder(is_rail, ignore_bridge) local layer = tonumber(Find("layer")) local zOrder = 0 local Z_STEP = 14 - if not ignore_bridges and toBridgeBool() then + if not ignore_bridge and toBridgeBool() then zOrder = zOrder + Z_STEP elseif toTunnelBool() then zOrder = zOrder - Z_STEP From 7c8414bc567c2d054dd5fbc22e493e8574c8017d Mon Sep 17 00:00:00 2001 From: Michael Kreil Date: Sun, 7 Dec 2025 19:55:01 +0100 Subject: [PATCH 2/2] fix: correct office value check in process_pois function --- process.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process.lua b/process.lua index 85c325a..7a10260 100644 --- a/process.lua +++ b/process.lua @@ -943,7 +943,7 @@ function process_pois(polygon) local leisure = valueAcceptedOrNil(poi_leisure_values, Find("leisure")) local emergency = valueAcceptedOrNil(poi_emergency_values, Find("emergency")) local highway = valueAcceptedOrNil(poi_highway_values, Find("highway")) - local office = valueAcceptedOrNil(poi_highway_values, Find("office")) + local office = valueAcceptedOrNil(poi_office_values, Find("office")) if amenity == nil and shop == nil and tourism == nil and historic == nil and leisure == nil and emergency == nil and highway == nil and office == nil then return false end