1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Fix sorting in command system which was going in the reverse order. Credits to @DrakezZ for spotting the issue

This commit is contained in:
Sandu Liviu Catalin 2016-07-15 14:19:29 +03:00
parent 89bd8a3cd7
commit f46adb50dc

View File

@ -580,7 +580,7 @@ public:
{
std::sort(m_Commands.begin(), m_Commands.end(),
[](Commands::const_reference a, Commands::const_reference b) -> bool {
return (b.mName < a.mName);
return (a.mName < b.mName);
});
}