Skip to content

Commit

Permalink
hardMode fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelQuinones authored Oct 16, 2023
1 parent 32f6293 commit 143928e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/game/stateStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function createGameStore() {
for (let i = 0; i < letters.length; i++) {
const letter = letters[i];
const status = statuses[i];
if (status === 'present' && !guess.includes(guess[i])) {
if (status === 'present' && !guess.includes(letter)) {
toastStore.show({
message: `Needs ${letter}`,
timeout: 3000,
Expand Down

0 comments on commit 143928e

Please sign in to comment.