diff options
Diffstat (limited to 'src/resources/db/itemoptiondb.cpp')
-rw-r--r-- | src/resources/db/itemoptiondb.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/db/itemoptiondb.cpp b/src/resources/db/itemoptiondb.cpp index 2f7fc1ccd..b138e7521 100644 --- a/src/resources/db/itemoptiondb.cpp +++ b/src/resources/db/itemoptiondb.cpp @@ -42,6 +42,7 @@ void ItemOptionDb::load() if (mLoaded) unload(); + logger->log1("Initializing item options database..."); loadXmlFile(paths.getStringValue("itemOptionsFile"), SkipError_false); loadXmlFile(paths.getStringValue("itemOptionsPatchFile"), SkipError_true); loadXmlDir("itemOptionsPatchDir", loadXmlFile); @@ -136,6 +137,7 @@ void ItemOptionDb::loadXmlFile(const std::string &fileName, void ItemOptionDb::unload() { + logger->log1("Unloading item options database..."); mOptions.clear(); mLoaded = false; } |