From 227bfeed97dc7a5edebec31f716298f43904aff4 Mon Sep 17 00:00:00 2001 From: Stranni15k Date: Sat, 19 Nov 2022 23:10:17 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=20=E2=84=965?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ElectricLocomotive/FormMapWithSetLocomotive.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)