reference __file__ for oot data path

This commit is contained in:
espeon65536 2021-09-03 19:53:14 -05:00 committed by Fabian Dill
parent 82ae21420d
commit f7da0265c4
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ __version__ = Utils.__version__ + ' f.LUM'
def data_path(*args): def data_path(*args):
return Utils.local_path('worlds', 'oot', 'data', *args) return os.path.join(os.path.dirname(__file__), 'data', *args)
@lru_cache(maxsize=13) # Cache Overworld.json and the 12 dungeons @lru_cache(maxsize=13) # Cache Overworld.json and the 12 dungeons