1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-23 21:29:13 +02:00

Skip h3 data setup if files are already present

This commit is contained in:
Ivan Savenko 2024-06-08 16:38:55 +00:00
parent 1f7b916a1c
commit ae53c7f23e

View File

@ -159,7 +159,10 @@ void FirstLaunchView::activateTabHeroesData()
ui->labelDataHelp->hide(); ui->labelDataHelp->hide();
#endif #endif
if(heroesDataUpdate()) if(heroesDataUpdate())
{
activateTabModPreset();
return; return;
}
QString installPath = getHeroesInstallDir(); QString installPath = getHeroesInstallDir();
if(!installPath.isEmpty()) if(!installPath.isEmpty())