realcoloride / node_akinator

Unofficial wrapper for Akinator.
https://www.akinator.com
4 stars 2 forks source link

Step check to deny on step 0 instead of step 1 #2

Closed ausgore closed 1 month ago

ausgore commented 1 month ago

The first question's is the 0th step. It should still be able to go back one more if it's on step 1 since that's the second question.

realcoloride commented 1 month ago

You're right. I forgot I define _step = "0"; at the start. I'll merge the PR. Thank you for the contribution