fix mod load with empty gameversions

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
(cherry picked from commit 29b3eb5cc6)
This commit is contained in:
Trial97
2025-03-01 22:45:36 +02:00
committed by github-actions[bot]
parent 70ca7af205
commit 299cbf8009
3 changed files with 3 additions and 4 deletions

View File

@ -45,7 +45,7 @@ static void loadManifestV1(Flame::Manifest& pack, QJsonObject& manifest)
Flame::File file;
loadFileV1(file, obj);
Q_ASSERT(file.projectId != 0);
pack.files.insert(file.fileId, file);
}