mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-11-26 02:57: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:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user