mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-31 18:07:14 +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:
parent
89bd8a3cd7
commit
f46adb50dc
@ -580,7 +580,7 @@ public:
|
|||||||
{
|
{
|
||||||
std::sort(m_Commands.begin(), m_Commands.end(),
|
std::sort(m_Commands.begin(), m_Commands.end(),
|
||||||
[](Commands::const_reference a, Commands::const_reference b) -> bool {
|
[](Commands::const_reference a, Commands::const_reference b) -> bool {
|
||||||
return (b.mName < a.mName);
|
return (a.mName < b.mName);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user