diff --git a/AirBomber/AirBomber/FormMapWithSetAirplanes.cs b/AirBomber/AirBomber/FormMapWithSetAirplanes.cs index 8e620b7..3082e34 100644 --- a/AirBomber/AirBomber/FormMapWithSetAirplanes.cs +++ b/AirBomber/AirBomber/FormMapWithSetAirplanes.cs @@ -85,7 +85,7 @@ namespace AirBomber dir = Direction.Right; break; } - pictureBox.Image = _map?.MoveObject(dir) ?? pictureBox.Image; + pictureBox.Image = _mapAirplanesCollectionGeneric?.MoveObject(dir) ?? pictureBox.Image; } /// /// Добавления типа двигателя и его количество в генератор