fix(glue): correct category selection logic

This commit is contained in:
fallenoak committed 2025-10-09 23:08:09 -05:00
1 parent 32275f7b16
commit 62df356940
1 file changed
+3
+3
View File
@@ -170,9 +170,12 @@ void CRealmList::UpdateList() {
// TODO sort realm list
CRealmList::s_selectedCategory = 0;
for (int32_t i = 0; i < CRealmList::s_categories.Count(); i++) {
if (CRealmList::s_categories[i]->m_category->GetID() == category) {
CRealmList::s_selectedCategory = i;
break;
}
}