Skip to content

Commit

Permalink
Fix Bethesda mod support
Browse files Browse the repository at this point in the history
The mod support is currently checking if the original executable exists instead of the mod loader executable. 
This causes installations without mod loaders to stop working.

Checking if the mod loader executable exists fixes this issue for installations without the mod loader.
  • Loading branch information
MaxBosse authored Oct 18, 2024
1 parent f0ce760 commit dc97d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamefixes-steam/22330.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def main_with_id(game_id: str) -> None:

# Run script extender if it exists.
mapping = get_redirect_name(game_id)
if os.path.isfile(mapping.from_name):
if os.path.isfile(mapping.to_name):
util.replace_command(mapping.from_name, mapping.to_name)


Expand Down

0 comments on commit dc97d48

Please sign in to comment.