Update libloadorder to v18.5.1

This commit is contained in:
Oliver Hamlet
2025-09-29 21:25:11 +01:00
parent e502a37aa9
commit face608fae
5 changed files with 16 additions and 169 deletions
+5 -1
View File
@@ -493,9 +493,13 @@ private:
const std::vector<std::pair<std::string, bool>>& loadOrder) const {
if (gameType_ == GameType::tes3) {
std::ofstream out(gamePath / "Morrowind.ini");
out << "[Game Files]" << std::endl;
size_t activeIndex = 0;
for (const auto& plugin : loadOrder) {
if (plugin.second) {
out << "GameFile0=" << plugin.first << std::endl;
out << "GameFile" << activeIndex << "=" << plugin.first << std::endl;
activeIndex += 1;
}
}
} else if (gameType_ == GameType::openmw) {