mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix demo sorting
This commit is contained in:
parent
812231449b
commit
2dcc0b9db3
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue