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:
parent
89bd8a3cd7
commit
f46adb50dc
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user