Commit f1652fa4 authored by mercury233's avatar mercury233

fix AI.SelectCard(List<ClientCard>)

parent 02a88f2b
...@@ -63,7 +63,7 @@ namespace WindBot.Game.AI ...@@ -63,7 +63,7 @@ namespace WindBot.Game.AI
break; break;
case SelectType.Cards: case SelectType.Cards:
foreach (ClientCard card in _cards) foreach (ClientCard card in _cards)
if (cards.Contains(card)) if (cards.Contains(card) && !result.Contains(card))
result.Add(card); result.Add(card);
break; break;
case SelectType.Id: case SelectType.Id:
......
Markdown is supported
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