mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
reference __file__ for oot data path
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user