Skip to content

Commit

Permalink
Accidentally put prev_matched = true in the wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
freyamade committed Mar 16, 2019
1 parent 8da148e commit 2ab3f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/channel.cr
Expand Up @@ -60,8 +60,8 @@ module Crcophony
# Check the previous found index
if prev_matched
score += 5
prev_matched = true
end
prev_matched = true
search_index += 1
else
# We didn't find one, subtract one from the score
Expand Down

0 comments on commit 2ab3f49

Please sign in to comment.