reference __file__ for oot data path
This commit is contained in:
		
							parent
							
								
									82ae21420d
								
							
						
					
					
						commit
						f7da0265c4
					
				|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue