Skip to content

Commit 5eaf961

Browse files
committed
Lua example configs: Simpler (and more correct) check
1 parent 48175e9 commit 5eaf961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flex-config/gen/forests.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function osm2pgsql.process_way(object)
9393
end
9494

9595
function osm2pgsql.process_relation(object)
96-
if not object.tags.type == 'multipolygon' then
96+
if object.tags.type ~= 'multipolygon' then
9797
return
9898
end
9999
local tags = object.tags

0 commit comments

Comments
 (0)