From 1953519601c3d9b03b004a775afff9efd7560dba Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Tue, 6 Aug 2024 11:03:13 -0700 Subject: [PATCH] Fix another bug. --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index fb2fc64..66b5061 100644 --- a/test.py +++ b/test.py @@ -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: