fix: Fixes descending comparer in admin gump (#2272)

This commit is contained in:
Bohica 2025-11-16 10:09:44 -08:00 committed by GitHub
parent 6cabac5a4f
commit 5e65f9f0b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4095,15 +4095,15 @@ namespace Server.Gumps
{
if (x is not KeyValuePair<IPAddress, List<Account>> a)
{
return -1;
return 1;
}
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;
}
}