Fix another bug.

This commit is contained in:
Michael Taboada 2024-08-06 11:03:13 -07:00
parent 95142e45ee
commit 1953519601

View File

@ -980,7 +980,7 @@ class ParseScreenObstructions:
#sprite below them
for key in lud:
#bmps are stored upside down, so do endswith here..
if key.endswith(tile[-len(tile)*3/4:]):
if key.endswith(tile[int(-len(tile)*3/4):]):
doc = lud.get(key)
break
else: