коммит
This commit is contained in:
parent
7eaadef863
commit
6dbd0832d8
@ -72,7 +72,9 @@ namespace Battleship.Generics
|
|||||||
yield return _places[i];
|
yield return _places[i];
|
||||||
if (maxShips.HasValue && i == maxShips.Value)
|
if (maxShips.HasValue && i == maxShips.Value)
|
||||||
{
|
{
|
||||||
|
|
||||||
yield break;
|
yield break;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user