fix error

This commit is contained in:
MaxKarme 2022-11-15 17:24:21 +03:00
parent bdbb9bae60
commit 1436165717

View File

@ -33,7 +33,7 @@ namespace AirFighter
_airFighter.DrawTransport(g);
}
public string GetInfo() => _airFighter?.GetDataForSave();
public static IDrawingObject Create(string data) => return new DrawingObjectAirFighter(data.CreateDrawingAirFighter());
public static IDrawingObject Create(string data) => new DrawingObjectAirFighter(data.CreateDrawingAirFighter());
}
}