fix: Fixes descending comparer in admin gump (#2272)
This commit is contained in:
parent
6cabac5a4f
commit
5e65f9f0b2
1 changed files with 3 additions and 3 deletions
|
|
@ -4095,15 +4095,15 @@ namespace Server.Gumps
|
||||||
{
|
{
|
||||||
if (x is not KeyValuePair<IPAddress, List<Account>> a)
|
if (x is not KeyValuePair<IPAddress, List<Account>> a)
|
||||||
{
|
{
|
||||||
return -1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (y is not KeyValuePair<IPAddress, List<Account>> b)
|
if (y is not KeyValuePair<IPAddress, List<Account>> b)
|
||||||
{
|
{
|
||||||
return 1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return a.Value.Count - b.Value.Count;
|
return b.Value.Count - a.Value.Count;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue