summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 443c156fb..649c1f08c 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1176,6 +1176,10 @@ int Client::gameExec()
Net::getPartyHandler()->clear();
if (chatLogger)
chatLogger->clear();
+ if (mOptions.dataPath.empty())
+ UpdaterWindow::unloadMods(mOldUpdates);
+ else
+ UpdaterWindow::unloadMods(mOptions.dataPath);
}
mOldState = mState;
@@ -1372,6 +1376,7 @@ int Client::gameExec()
{
mState = STATE_LOAD_DATA;
mOldUpdates = "";
+ UpdaterWindow::loadDirMods(mOptions.dataPath);
}
else if (loginData.updateType & LoginData::Upd_Skip)
{
@@ -1456,7 +1461,7 @@ int Client::gameExec()
NPCDB::load();
PETDB::load();
EmoteDB::load();
- ModDB::load();
+// ModDB::load();
StatusEffect::load();
Units::loadUnits();