Commit 4b7f8fea authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

Knitting rules delivered random results (another unsorted set)

parent 33cd3aaf
......@@ -769,7 +769,7 @@ class Knitting(RuleCode):
minSuit = min(suitCounts)
result = ''.join(
x for idx,
x in enumerate(set(Tile.colors)) if suitCounts[idx] > minSuit)
x in enumerate(Tile.colors) if suitCounts[idx] > minSuit)
if len(result) == 2:
return result
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment