From 8f52e4654f56d74e28224daca0e2967795d20fc0 Mon Sep 17 00:00:00 2001 From: JusticePS <5125765+JusticePS@users.noreply.github.com> Date: Tue, 4 Apr 2023 10:32:03 -0700 Subject: [PATCH] Adventure: Change user_path to local_path for locating basepatch file (#1639) --- AdventureClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AdventureClient.py b/AdventureClient.py index c4258993..06eea521 100644 --- a/AdventureClient.py +++ b/AdventureClient.py @@ -436,7 +436,7 @@ async def patch_and_run_game(patch_file, ctx): logger.info(msg, extra={'compact_gui': True}) ctx.gui_error('Error', msg) - with open(Utils.user_path("data", "adventure_basepatch.bsdiff4"), "rb") as file: + with open(Utils.local_path("data", "adventure_basepatch.bsdiff4"), "rb") as file: basepatch = bytes(file.read()) base_patched_rom_data = bsdiff4.patch(base_rom, basepatch)