From dc97d48953f2b3e232a3cd047e01af3445f18435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Bo=C3=9Fe?= Date: Fri, 18 Oct 2024 05:14:23 +0200 Subject: [PATCH] Fix Bethesda mod support 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. --- gamefixes-steam/22330.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamefixes-steam/22330.py b/gamefixes-steam/22330.py index 05933a1a..9781f7bb 100755 --- a/gamefixes-steam/22330.py +++ b/gamefixes-steam/22330.py @@ -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)