Merge branch 'Fix_Assert' of github.com:Trial97/PrismLauncher into develop

This commit is contained in:
Trial97 2023-05-28 19:16:14 +03:00
commit 51c39ec681
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -130,8 +130,7 @@ void FlameCheckUpdate::executeTask()
setStatus(tr("Getting API response from CurseForge for '%1'...").arg(mod->name()));
setProgress(i++, m_mods.size());
ModPlatform::IndexedPack pack{ mod->metadata()->project_id.toString() };
auto latest_ver = api.getLatestVersion({ pack, m_game_versions, m_loaders });
auto latest_ver = api.getLatestVersion({ { mod->metadata()->project_id.toString() }, m_game_versions, m_loaders });
// Check if we were aborted while getting the latest version
if (m_was_aborted) {