Fixes issue #430
This commit is contained in:
parent
01dc1af5f4
commit
a735d467bf
@ -57,7 +57,6 @@ function node_function (node)
|
|||||||
if "" ~= barrier then
|
if "" ~= barrier then
|
||||||
if obey_bollards then
|
if obey_bollards then
|
||||||
--flag node as unpassable if it black listed as unpassable
|
--flag node as unpassable if it black listed as unpassable
|
||||||
print(barrier)
|
|
||||||
node.bollard = true;
|
node.bollard = true;
|
||||||
end
|
end
|
||||||
--reverse the previous flag if there is an access tag specifying entrance
|
--reverse the previous flag if there is an access tag specifying entrance
|
||||||
@ -69,7 +68,6 @@ function node_function (node)
|
|||||||
for i,v in ipairs(access_tags) do
|
for i,v in ipairs(access_tags) do
|
||||||
local mode_value = node.tags:Find(v)
|
local mode_value = node.tags:Find(v)
|
||||||
if nil ~= mode_value and "yes" == mode_value then
|
if nil ~= mode_value and "yes" == mode_value then
|
||||||
return 1
|
|
||||||
node.bollard = false
|
node.bollard = false
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user