Skip to content

Commit

Permalink
Remove obsolete check
Browse files Browse the repository at this point in the history
  • Loading branch information
Ortham committed Aug 22, 2024
1 parent 59a3b7c commit 63b1e0b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/api/sorting/plugin_sorting_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,7 @@ PluginSortingData::PluginSortingData(
std::string PluginSortingData::GetName() const { return plugin_->GetName(); }

bool PluginSortingData::IsMaster() const {
return plugin_ != nullptr &&
(plugin_->IsMaster() ||
(plugin_->IsLightPlugin() &&
!boost::iends_with(plugin_->GetName(), ".esp")));
return plugin_ != nullptr && plugin_->IsMaster();
}

bool PluginSortingData::LoadsArchive() const {
Expand Down

0 comments on commit 63b1e0b

Please sign in to comment.