From 45db8c99a6fa3c958646f747923d8f5281bbac8b Mon Sep 17 00:00:00 2001 From: Huyen Chau Nguyen Date: Sat, 29 Sep 2018 00:21:18 +0300 Subject: [PATCH] make maxspeed:advisory more important than maxspeed again --- profiles/lib/way_handlers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/lib/way_handlers.lua b/profiles/lib/way_handlers.lua index 9ade65e03..968cc9aa6 100644 --- a/profiles/lib/way_handlers.lua +++ b/profiles/lib/way_handlers.lua @@ -432,7 +432,7 @@ end -- maxspeed and advisory maxspeed function WayHandlers.maxspeed(profile,way,result,data) - local keys = Sequence { 'maxspeed', 'source:maxspeed', 'maxspeed:type', 'maxspeed:advisory' } + local keys = Sequence { 'maxspeed:advisory', 'maxspeed', 'source:maxspeed', 'maxspeed:type' } local forward, backward = Tags.get_forward_backward_by_set(way,data,keys) forward = WayHandlers.parse_maxspeed(forward,profile) backward = WayHandlers.parse_maxspeed(backward,profile)