mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 03:08:29 +02:00
fixed an issue where a .d directory in a Patch would not get his .szs equivalent extracted if the subfile where all at the root level (causing an issue with the MKWF Font patch)
This commit is contained in:
parent
f8c04f62a4
commit
43018abdca
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class PatchFile(PatchObject):
|
|||
|
||||
# check if the path to the game_subpath is inside a szs, and if yes extract it
|
||||
for szs_subpath in filter(lambda path: path.suffix == ".d",
|
||||
game_subpath.parent.relative_to(extracted_game.path).parents):
|
||||
game_subpath.relative_to(extracted_game.path).parents):
|
||||
szs_path = extracted_game.path / szs_subpath
|
||||
|
||||
# if the archive is already extracted, ignore
|
||||
|
|
Loading…
Reference in a new issue