replaced a stub for the IndexError

This commit is contained in:
RomulAugustus 2022-07-25 10:57:29 +03:00
parent 8a2b116da5
commit 63abd8813f

View File

@ -21,7 +21,7 @@ class GameMap:
if x <= max_size_x or y <= max_size_y:
self.data[(x,y)] = player
else:
raise IndexOutOfBounds
raise IndexError()
def equal(what, to):