Skip to content

Commit d1e4fda

Browse files
committed
(sprites) Implement fingerprint for empty sprites
1 parent b9a8ae5 commit d1e4fda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

agrf/sprites/empty.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ def get_resource_files(self):
4343

4444

4545
class EmptyAlternativeSprites(grf.AlternativeSprites):
46-
pass
46+
def get_fingerprint(self):
47+
return {"sprites": [s.get_fingerprint() for s in self.sprites]}
4748

4849

4950
def empty_alternatives(w, h, xofs, yofs):

0 commit comments

Comments
 (0)