This commit is contained in:
Павел Сорокин 2022-12-02 12:05:08 +04:00
parent 619e8623ae
commit a7aa4f92d6

View File

@ -44,9 +44,9 @@ namespace Liner
}
if (xShip.GetShip.Ship is EntityLiner xLiner && yShip.GetShip.Ship is EntityLiner yLiner)
{
string xLocomotiveDopColor = xLiner.DopColor.Name;
string yLocomotiveDopColor = yLiner.DopColor.Name;
var dopColorCompare = xShipColor.CompareTo(yShipColor);
string xShipDopColor = xLiner.DopColor.Name;
string yShipDopColor = yLiner.DopColor.Name;
var dopColorCompare = xShipDopColor.CompareTo(yShipDopColor);
if (dopColorCompare != 0)
{
return dopColorCompare;