diff --git a/GameMap.py b/GameMap.py index c246d1d..073f833 100644 --- a/GameMap.py +++ b/GameMap.py @@ -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):