summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/moddb.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/db/moddb.cpp b/src/resources/db/moddb.cpp
index aa785afdb..32846696b 100644
--- a/src/resources/db/moddb.cpp
+++ b/src/resources/db/moddb.cpp
@@ -83,10 +83,12 @@ void ModDB::loadXmlFile(const std::string &fileName)
currentInfo = new ModInfo;
currentInfo->setName(name);
- currentInfo->setDescription(XML::getProperty(
+ currentInfo->setDescription(XML::langProperty(
modNode, "description", ""));
currentInfo->setHelp(XML::getProperty(
modNode, "help", ""));
+ currentInfo->setLocalDir(XML::getProperty(
+ modNode, "localdir", ""));
mModInfos[name] = currentInfo;
}