keep letters in word when using default word extractor

This commit is contained in:
Eliot Jones
2019-05-30 20:07:52 +01:00
parent ef822b484d
commit f375cb6f04

View File

@@ -96,7 +96,7 @@
private static Word GenerateWord(List<Letter> letters) private static Word GenerateWord(List<Letter> letters)
{ {
return new Word(letters); return new Word(letters.ToList());
} }
public static IWordExtractor Instance { get; } = new DefaultWordExtractor(); public static IWordExtractor Instance { get; } = new DefaultWordExtractor();