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

Try to fix mod update

This commit is contained in:
George King
2025-08-28 11:40:07 +02:00
committed by GitHub
parent 66151abe29
commit 0b8dfa494a

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);
}
}