Skip to content

Commit

Permalink
Cache unofficial parts.
Browse files Browse the repository at this point in the history
  • Loading branch information
leozide committed Nov 14, 2024
1 parent a4f63fc commit 1817fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lc_library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,7 @@ bool lcPiecesLibrary::LoadPieceData(PieceInfo* Info)
if (mZipFiles[static_cast<int>(Info->mZipFileType)]->ExtractFile(Info->mZipFileIndex, PieceFile))
Loaded = MeshLoader.LoadMesh(PieceFile, LC_MESHDATA_SHARED);

SaveCache = Loaded && (Info->mZipFileType == lcZipFileType::Official);
SaveCache = Loaded;
}
else
{
Expand Down

0 comments on commit 1817fbd

Please sign in to comment.