bothness/ons-geo-game

Bug: Same place name sometimes shown

Closed this issue · 1 comments

When offering multiple choice answers, sometimes the same place is listed twice. I assume the random alternatives are not excluding the right answer.

Would have provided a PR but only the compiled code is checked in.

Hi @gpmcadam. I hadn't noticed your message. This bug was due to duplicates in the array of place names returned by the API. So two different array items could in fact be the same. This has now been resolved.