Skip to content

Commit

Permalink
Fix manifest flag not getting retained when building container type
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Wiseguy committed Sep 28, 2024
1 parent 261b196 commit 2d57d25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion librecomp/src/mods.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,11 @@ bool recomp::mods::ModContext::register_container_type(const std::string& extens
}

// Register the container type.
container_types.emplace(true_extension, container_content_types);
container_types.emplace(true_extension,
ModContainerType {
.supported_content_types = container_content_types,
.requires_manifest = requires_manifest
});

return true;
}
Expand Down

0 comments on commit 2d57d25

Please sign in to comment.