Skip to content

Commit

Permalink
Skip over this key here.
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSpen210 committed Oct 30, 2024
1 parent 942b765 commit 96bb588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/srctools/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(self, path: Union[str, Path], encoding: str = 'utf8') -> None:
if path.exists():
self.search_paths.insert(0, path)

mounts_path = self.path / MOUNTSKV # Process mounts.kv file if exists
mounts_path = self.path / MOUNTSKV # Process mounts.kv file if exists
if mounts_path.is_file():
with open(mounts_path, encoding=encoding) as m:
mountskv = Keyvalues.parse(m)
Expand Down Expand Up @@ -145,7 +145,7 @@ def vpk_patch(p: Path) -> Path:
continue

for child in mount:
if child.name in ("head", "required"):
if child.name in ("head", "required", "mountmoddir"):
continue # Ignore

# Else we're working with a mod folder
Expand Down

0 comments on commit 96bb588

Please sign in to comment.