summaryrefslogtreecommitdiff
path: root/src/modinforegular.cpp
diff options
context:
space:
mode:
authorLePresidente <brian.alexander.munro@gmail.com>2017-10-29 11:38:06 +0200
committerLePresidente <brian.alexander.munro@gmail.com>2017-10-29 11:38:06 +0200
commitcabffa23a9b1ec053a7a573ed71883c44d7a5b6a (patch)
treecd4efd870b0ec76b027a8c104feb6cd724cf83c4 /src/modinforegular.cpp
parentebe6011174767687f3b575c08132a720ecccbf55 (diff)
Use ScriptExtender PluginPath instead of appending "/plugin" to the old script extender name variable.
Diffstat (limited to 'src/modinforegular.cpp')
-rw-r--r--src/modinforegular.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modinforegular.cpp b/src/modinforegular.cpp
index bacc21f7..1194f604 100644
--- a/src/modinforegular.cpp
+++ b/src/modinforegular.cpp
@@ -442,7 +442,7 @@ std::vector<ModInfo::EContent> ModInfoRegular::getContents() const
->feature<ScriptExtender>();
if (extender != nullptr) {
- QString sePluginPath = extender->name() + "/plugins";
+ QString sePluginPath = extender->PluginPath();
if (dir.exists(sePluginPath))
m_CachedContent.push_back(CONTENT_SKSE);
}