Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ public static MapRequest.CompilationResult apply(WurstProjectConfigData projectC
// Apply map header (this is cheap, so we always do it)
applyMapHeader(projectConfig, targetMap);

// Update the manifest with new config hash
try (MpqEditor mpq = MpqEditorFactory.getEditor(Optional.of(targetMap), true)) {
// Update the manifest with new config hash (must open writable to insert)
try (MpqEditor mpq = MpqEditorFactory.getEditor(Optional.of(targetMap), false)) {
ImportFile.CacheManifest manifest = ImportFile.getCachedManifest(mpq).orElse(new ImportFile.CacheManifest());
manifest.setMapConfig(configHash);
ImportFile.saveManifest(mpq, manifest);
Expand Down
Loading