Skip to content

Commit

Permalink
Make ignoring collisions work for parent directories
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberrumor committed Jan 25, 2025
1 parent f23b3db commit 1da8f98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ammo/controller/mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ def stage(self) -> dict:
for src in mod.files:
if src.name in IGNORE_COLLISIONS:
continue
if set(src.parts).intersection(IGNORE_COLLISIONS):
continue
# Get the sanitized full path relative to the game.directory.
if mod.fomod:
corrected_name = (
Expand Down

0 comments on commit 1da8f98

Please sign in to comment.