From 4fc1ce77acc0f921caf6f51882b8c54f2deef767 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Wed, 28 Apr 2021 02:39:55 +0200 Subject: [PATCH] only build vanilla sprite data once correctly --- worlds/alttp/Rom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/alttp/Rom.py b/worlds/alttp/Rom.py index 724ffaa3..12923180 100644 --- a/worlds/alttp/Rom.py +++ b/worlds/alttp/Rom.py @@ -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()