mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
optimize sweep_for_events, some has_ functions and some minor things
This commit is contained in:
2
Rom.py
2
Rom.py
@@ -348,6 +348,8 @@ def _populate_sprite_table():
|
||||
if sprite.valid:
|
||||
_sprite_table[sprite.name.lower()] = sprite
|
||||
_sprite_table[os.path.basename(file).split(".")[0].lower()] = sprite # alias for filename base
|
||||
else:
|
||||
logging.debug(f"Spritefile {file} could not be loaded as a valid sprite.")
|
||||
|
||||
with concurrent.futures.ThreadPoolExecutor() as pool:
|
||||
for dir in [local_path('data/sprites/alttpr'), local_path('data/sprites/custom')]:
|
||||
|
Reference in New Issue
Block a user