From f7da0265c40558d95e0bfba333468715774ace02 Mon Sep 17 00:00:00 2001 From: espeon65536 Date: Fri, 3 Sep 2021 19:53:14 -0500 Subject: [PATCH] reference __file__ for oot data path --- worlds/oot/Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/oot/Utils.py b/worlds/oot/Utils.py index 134f5fb4..dea8dbc7 100644 --- a/worlds/oot/Utils.py +++ b/worlds/oot/Utils.py @@ -8,7 +8,7 @@ __version__ = Utils.__version__ + ' f.LUM' 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