@ -30,15 +30,13 @@ namespace QwirkleClassLibrary
{
for (int i = 0; i < cells.Count; i++)
if (this.cells[i].GetX == x && this.cells[i].GetY == y)
if (this.cells[i].GetX != x || this.cells[i].GetY != y) continue;
if (cells[i].IsFree == true)
return cells[i].SetTile(tile);
}
return false;