1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Merge pull request #6075 from GeorgeK1ng/mod_update_fix

Fix mod update
This commit is contained in:
Ivan Savenko
2025-08-29 21:44:19 +03:00
committed by GitHub

View File

@@ -1040,6 +1040,7 @@ void CModListView::installMods(QStringList archives)
modsToEnable.push_back(mod);
manager->uninstallMod(mod);
reload(mod);
}
else
{
@@ -1323,7 +1324,7 @@ void CModListView::doUninstallMod(const QString & modName)
if(modStateModel->isModEnabled(modName))
manager->disableMod(modName);
manager->uninstallMod(modName);
reload();
reload(modName);
}
}