diff --git a/games/game_finalfantasy7remake.py b/games/game_finalfantasy7remake.py index e37fafc..44dd74f 100644 --- a/games/game_finalfantasy7remake.py +++ b/games/game_finalfantasy7remake.py @@ -47,6 +47,8 @@ def _active_mod_paths(self) -> Iterable[Path]: yield mods_parent_path / mod def _active_mod_mappings(self, mod_paths: List[Path]) -> Iterable[mobase.Mapping]: + if not mod_paths: + return pak_priority_digits = math.floor(math.log10(len(mod_paths))) + 1 for priority, mod_path in enumerate(mod_paths):