Fix demo sorting

This commit is contained in:
furo 2023-08-28 21:11:12 +02:00
parent 812231449b
commit 2dcc0b9db3

View file

@ -1182,7 +1182,7 @@ void CMenus::RenderDemoList(CUIRect MainView)
}
// Don't rescan in order to keep fetched headers, just resort
std::stable_sort(m_vpFilteredDemos.begin(), m_vpFilteredDemos.end());
std::stable_sort(m_vDemos.begin(), m_vDemos.end());
DemolistOnUpdate(false);
}
}