небольшие изменения.

This commit is contained in:
Павел Сорокин 2022-12-05 22:35:54 +04:00
parent 811bba9e54
commit e227e7f26e

View File

@ -42,6 +42,14 @@ namespace Liner
{
return xShipColor.CompareTo(yShipColor);
}
if (xShip.GetShip.GetType().Name != yShip.GetShip.GetType().Name)
{
if (xShip.GetShip.GetType().Name == "DrawingShip")
{
return -1;
}
return 1;
}
if (xShip.GetShip.Ship is EntityLiner xLiner && yShip.GetShip.Ship is EntityLiner yLiner)
{
string xShipDopColor = xLiner.DopColor.Name;