коммит

This commit is contained in:
Казначеева Елизавета 2023-11-15 12:14:21 +04:00
parent 7eaadef863
commit 6dbd0832d8

View File

@ -72,7 +72,9 @@ namespace Battleship.Generics
yield return _places[i];
if (maxShips.HasValue && i == maxShips.Value)
{
yield break;
}
}
}