Commit d4e766da authored by mercury233's avatar mercury233

fix AI.SelectCard(id[])

parent 54bfe976
......@@ -74,7 +74,7 @@ namespace WindBot.Game.AI
case SelectType.Ids:
foreach (int id in _ids)
foreach (ClientCard card in cards)
if (card.Id == id)
if (card.Id == id && !result.Contains(card))
result.Add(card);
break;
case SelectType.Location:
......
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