Fix another bug.
This commit is contained in:
parent
95142e45ee
commit
1953519601
2
test.py
2
test.py
@ -980,7 +980,7 @@ class ParseScreenObstructions:
|
|||||||
#sprite below them
|
#sprite below them
|
||||||
for key in lud:
|
for key in lud:
|
||||||
#bmps are stored upside down, so do endswith here..
|
#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)
|
doc = lud.get(key)
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user