This commit is contained in:
mibi88 2023-01-07 21:48:44 +01:00
parent 70b115a737
commit e275effb3a
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class Scii:
self.collision_npc = npc
return 2
except:
if x >= 0 and x < self.get_map_width() and y >= 0 and y < self.get_map_height(): return 0
if x >= 0 and x < self.get_map_width(map_data) and y >= 0 and y < self.get_map_height(map_data): return 0
else: return 1
return 0
def _default_intext(self):