[TLOZ] Fix filepath error for base patch
using os.path.join was causing duplicate parts of the filepath in certain environments. turns out it's not needed when loading the basepatch in our current world structure. this should hopefully fix genning issues on the RC beta site (and presumably the main site once the RC turns into the release)
This commit is contained in:
parent
c9404d75b0
commit
8d6b2dfc9c
|
@ -192,7 +192,7 @@ class TLoZWorld(World):
|
|||
# Remove map/compass check so they're always on
|
||||
# Removing a bit from the boss roars flags, so we can have more dungeon items. This allows us to
|
||||
# go past 0x1F items for dungeon items.
|
||||
base_patch = get_data(__name__, os.path.join(os.path.dirname(__file__), "z1_base_patch.bsdiff4"))
|
||||
base_patch = get_data(__name__, "z1_base_patch.bsdiff4")
|
||||
rom_data = bsdiff4.patch(rom.read(), base_patch)
|
||||
rom_data = bytearray(rom_data)
|
||||
# Set every item to the new nothing value, but keep room flags. Type 2 boss roars should
|
||||
|
|
Loading…
Reference in New Issue