only build vanilla sprite data once correctly
This commit is contained in:
parent
b8c7d6a72f
commit
4fc1ce77ac
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue