mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
only build vanilla sprite data once correctly
This commit is contained in:
@@ -513,7 +513,7 @@ class Sprite():
|
||||
author_name: Optional[str] = None
|
||||
|
||||
def __init__(self, filename):
|
||||
if not hasattr(Sprite, "palette"):
|
||||
if not hasattr(Sprite, "base_data"):
|
||||
self.get_vanilla_sprite_data()
|
||||
with open(filename, 'rb') as file:
|
||||
filedata = file.read()
|
||||
|
Reference in New Issue
Block a user