Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make LOOT sorting enabled #27

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions src/gamestarfield.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,6 @@ QList<PluginSetting> GameStarfield::settings() const
<< PluginSetting("enable_management_warnings",
tr("Show a warning when plugins.txt management is invalid."),
true)
<< PluginSetting("enable_loot_sorting",
tr("As of this release LOOT Starfield support is minimal to "
"nonexistant. Toggle this to enable it anyway."),
false)
<< PluginSetting("enable_loadorder_fix",
tr("Utilize Starfield.ccc to affix core plugin load order "
"(will override existing file)."),
Expand Down Expand Up @@ -357,10 +353,7 @@ QStringList GameStarfield::CCPlugins() const

IPluginGame::SortMechanism GameStarfield::sortMechanism() const
{
if (!testFilePresent() &&
m_Organizer->pluginSetting(name(), "enable_loot_sorting").toBool())
return IPluginGame::SortMechanism::LOOT;
return IPluginGame::SortMechanism::NONE;
return IPluginGame::SortMechanism::LOOT;
}

IPluginGame::LoadOrderMechanism GameStarfield::loadOrderMechanism() const
Expand Down
Loading