поправка к сравнению
This commit is contained in:
parent
732526724d
commit
f70ddb3599
@ -24,7 +24,7 @@ namespace ProjectElectricLocomotive.Generics
|
||||
{
|
||||
return x.EntityLocomotive.BodyColor.ToArgb().CompareTo(y.EntityLocomotive.BodyColor.ToArgb());
|
||||
}
|
||||
if (x.EntityLocomotive.BodyColor.ToArgb().CompareTo(y.EntityLocomotive.BodyColor.ToArgb()) != 0)
|
||||
if (x.EntityLocomotive.BodyColor.ToArgb().CompareTo(y.EntityLocomotive.BodyColor.ToArgb()) == 0)
|
||||
{
|
||||
return x.EntityLocomotive.BodyColor.ToArgb().CompareTo(y.EntityLocomotive.BodyColor.ToArgb());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user