diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-10-17 23:46:12 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-10-17 23:46:12 +0100 |
commit | 9b8a6d155a7a2cf1bfb4e8d98980bfb0b6e94d92 (patch) | |
tree | fd54aa3919c716b7a96ff5c9de10401daade4388 /NorthstarDedicatedTest/modmanager.cpp | |
parent | c5cf48bba33159fc268904688f29ed20c14b11b3 (diff) | |
download | NorthstarLauncher-9b8a6d155a7a2cf1bfb4e8d98980bfb0b6e94d92.tar.gz NorthstarLauncher-9b8a6d155a7a2cf1bfb4e8d98980bfb0b6e94d92.zip |
fix a crashing GetCurrentPlaylistVar call, fix mod sorting
Diffstat (limited to 'NorthstarDedicatedTest/modmanager.cpp')
-rw-r--r-- | NorthstarDedicatedTest/modmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/modmanager.cpp b/NorthstarDedicatedTest/modmanager.cpp index 42ad0545..956ea90f 100644 --- a/NorthstarDedicatedTest/modmanager.cpp +++ b/NorthstarDedicatedTest/modmanager.cpp @@ -261,7 +261,7 @@ void ModManager::LoadMods() // sort by load prio, lowest-highest std::sort(m_loadedMods.begin(), m_loadedMods.end(), [](Mod* a, Mod* b) { - return a->LoadPriority > b->LoadPriority; + return a->LoadPriority < b->LoadPriority; }); for (Mod* mod : m_loadedMods) |