Invalid string values in lanes:psv:backward should result in 0 lanes,

not `nil`.
This commit is contained in:
Daniel Patterson
2016-09-04 13:40:48 -07:00
parent bb244e28bb
commit a4f9499305
2 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ local function get_psv_counts(way)
if( psv_backward and psv_backward ~= "" ) then
bw = tonumber(psv_backward);
if( bw == nil ) then
fw = 0
bw = 0
end
end
return fw, bw