Skip to content

Commit

Permalink
quick update
Browse files Browse the repository at this point in the history
there was still a slight but left in the previous one since starting letters for letters not yet used could still cause issue if the word preshift had more than 1 letter in it

now that is fixed
  • Loading branch information
EdwinMeriaux authored Jun 19, 2019
1 parent af6ad4e commit 022a5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version 2
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def letter(key):
if len(word) > 0:
if previous != 0:
print(previous)
if letterwords[previous][1]>0:
if (letterwords[previous][1] > 0 and len(word) == 1) or (len(word) > 1 and len(letterwords[word_number[0]][2]) > 0):
shift()
else:
noshift()
Expand Down

0 comments on commit 022a5d8

Please sign in to comment.