Исправил логику добавления самолетов

This commit is contained in:
Иван Захаров 2024-03-25 00:15:31 +04:00
parent 79334e6677
commit 07ccc35004

View File

@ -50,7 +50,7 @@ public class PlaneHangar : AbstractCompany
curHeight = 0;
curWidth++;
}
if (curWidth > width)
if (curWidth > width - 1)
{
return;
}