From 63abd8813f1bb125a27f1d2f346301e9c7439be5 Mon Sep 17 00:00:00 2001 From: RomulAugustus <87079566+RomulAugustus@users.noreply.github.com> Date: Mon, 25 Jul 2022 10:57:29 +0300 Subject: [PATCH] replaced a stub for the IndexError --- GameMap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):