Sort ServerList by players

This commit is contained in:
mxve 2023-08-31 12:17:21 +02:00
parent dba32e4047
commit e4cc1ca7fd

View File

@ -17,8 +17,8 @@
namespace Components namespace Components
{ {
bool ServerList::SortAsc = true; bool ServerList::SortAsc = false;
int ServerList::SortKey = static_cast<std::underlying_type_t<Column>>(Column::Ping); int ServerList::SortKey = static_cast<std::underlying_type_t<Column>>(Column::Players);
unsigned int ServerList::CurrentServer = 0; unsigned int ServerList::CurrentServer = 0;
ServerList::Container ServerList::RefreshContainer; ServerList::Container ServerList::RefreshContainer;