Skip to content

Commit

Permalink
fix small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Aug 22, 2021
1 parent 0ca3031 commit 85a7621
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class AddOneway : OsmElementQuestType<OnewayAnswer> {
/* left or right hand traffic is irrelevant here because we don't make a difference between
left and right side */
val sides = createCyclewaySides(tags, false) ?: return 0f
return (sides.left?.estimatedWidth ?: 0f) + (sides.left?.estimatedWidth ?: 0f)
return (sides.left?.estimatedWidth ?: 0f) + (sides.right?.estimatedWidth ?: 0f)
}

override fun createForm() = AddOnewayForm()
Expand Down

0 comments on commit 85a7621

Please sign in to comment.