mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Update libloadorder to v18.5.1
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user