From 3717cfd8725a569320a0473adbac63fcc61de32b Mon Sep 17 00:00:00 2001 From: Sander Schobers Date: Mon, 11 May 2020 15:52:43 +0200 Subject: [PATCH] Fixed bug where double digits in phone number weren't accepted properly (second digit required 10-digit strokes, third digit was impossible). --- research.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/research.go b/research.go index f5bd037..ed0fce2 100644 --- a/research.go +++ b/research.go @@ -123,6 +123,8 @@ func (r *Research) userTyped(i int) { r.digitCount = 0 } else if r.digitCount == i || r.digitCount == 10 { r.input.Text += digit + r.typing = "" + r.digitCount = 0 if r.input.Text == r.botanist.Number { r.game.UnlockNextFlower()