dtmm: Enforce skipping packages for non-bundled mods
All checks were successful
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux

Fixes #161.
This commit is contained in:
Lucas Schwiderski 2023-12-05 10:11:51 +01:00
parent 52959a3d5d
commit 0fb10d9d69
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8

View file

@ -269,6 +269,10 @@ fn extract_mod_config<R: Read + Seek>(archive: &mut ZipArchive<R>) -> Result<(Mo
cfg.resources = resources;
// Enforce that packages are skipped
cfg.bundled = false;
cfg.packages = vec![];
Ok((cfg, root))
} else {
let root = name