diff --git a/ElectricLocomotive/ElectricLocomotive/FormMapWithSetLocomotive.cs b/ElectricLocomotive/ElectricLocomotive/FormMapWithSetLocomotive.cs index 6d4a64f..09199d9 100644 --- a/ElectricLocomotive/ElectricLocomotive/FormMapWithSetLocomotive.cs +++ b/ElectricLocomotive/ElectricLocomotive/FormMapWithSetLocomotive.cs @@ -12,7 +12,7 @@ namespace ElectricLocomotive { public partial class FormMapWithSetLocomotive : Form { - private MapWithSetLocomotivGeneric _mapShipCollectionGeneric; + private MapWithSetLocomotivGeneric _mapLocomotiveCollectionGeneric; private readonly Dictionary _mapDict = new() { {"Простая карта", new SimpleMap() }, @@ -67,12 +67,12 @@ namespace ElectricLocomotive } if (map != null) { - _mapShipCollectionGeneric = new MapWithSetLocomotivGeneric( + _mapLocomotiveCollectionGeneric = new MapWithSetLocomotivGeneric( pictureBox1.Width, pictureBox1.Height, map); } else { - _mapShipCollectionGeneric = null; + _mapLocomotiveCollectionGeneric = null; } } private void ButtonAddLocomotive_Click(object sender, EventArgs e)