diff --git a/AirBomber/AirBomber/MapWithSetAirplanesGeneric.cs b/AirBomber/AirBomber/MapWithSetAirplanesGeneric.cs index b05f916..387b58d 100644 --- a/AirBomber/AirBomber/MapWithSetAirplanesGeneric.cs +++ b/AirBomber/AirBomber/MapWithSetAirplanesGeneric.cs @@ -193,9 +193,9 @@ namespace AirBomber public string GetData(char separatorType, char separatorData) { string data = $"{_map.GetType().Name}{separatorType}"; - foreach (var car in SetAirplanes.GetAirplanes()) + foreach (var airplane in SetAirplanes.GetAirplanes()) { - data += $"{car.GetInfo()}{separatorData}"; + data += $"{airplane.GetInfo()}{separatorData}"; } return data; }