Update settings.cpp

This commit is contained in:
Detanup01 2024-01-08 17:23:58 +01:00 committed by otavepto
parent 03f9da07cb
commit 96005c48ea

View File

@ -180,8 +180,10 @@ void Settings::addModDetails(PublishedFileId_t id, Mod_entry details)
f->acceptedForUse = details.acceptedForUse; f->acceptedForUse = details.acceptedForUse;
f->tagsTruncated = details.tagsTruncated; f->tagsTruncated = details.tagsTruncated;
f->tags = details.tags; f->tags = details.tags;
// - should we set the handles here instead of Invalid?
f->handleFile = details.handleFile; f->handleFile = details.handleFile;
f->handlePreviewFile = details.handlePreviewFile; f->handlePreviewFile = details.handlePreviewFile;
// -
f->primaryFileName = details.primaryFileName; f->primaryFileName = details.primaryFileName;
f->primaryFileSize = details.primaryFileSize; f->primaryFileSize = details.primaryFileSize;
f->previewFileName = details.previewFileName; f->previewFileName = details.previewFileName;