diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp index 649c1f08c..3f049340f 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1176,10 +1176,12 @@ int Client::gameExec() Net::getPartyHandler()->clear(); if (chatLogger) chatLogger->clear(); - if (mOptions.dataPath.empty()) - UpdaterWindow::unloadMods(mOldUpdates); - else + if (!mOptions.dataPath.empty()) UpdaterWindow::unloadMods(mOptions.dataPath); + else + UpdaterWindow::unloadMods(mOldUpdates); + if (!mOptions.skipUpdate) + UpdaterWindow::unloadMods(mOldUpdates + "/fix/"); } mOldState = mState; |