Fixed bug where double digits in phone number weren't accepted properly (second digit required 10-digit strokes, third digit was impossible).
This commit is contained in:
parent
ee7f99166c
commit
3717cfd872
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user