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 committed 2016-07-15 14:19:29 +03:00
1 parent 89bd8a3cd7
commit f46adb50dc
1 file changed
+1 -1
+1 -1
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);
});
}