Skip to content

Commit 1acaed9

Browse files
committed
Reduce all clues to lowercase
Lowercase works well with unicode characters
1 parent 0af9350 commit 1acaed9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Global.-1.ttslua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,9 @@ function clueEntered(player, value)
648648
return
649649
end
650650

651+
-- Standardize clue to lowercase
652+
clue = clue:lower()
653+
651654
-- Don't allow a clue that isn't covered
652655
for cardIndex, cardData in ipairs(cards) do
653656
if not cardData.covered and cardData.value:lower() == clue:lower() then

0 commit comments

Comments
 (0)