diff --git a/GameMap.py b/GameMap.py index a100ef9..3b494b8 100644 --- a/GameMap.py +++ b/GameMap.py @@ -21,7 +21,7 @@ class GameMap: if (x <= self.max_size_x and y <= self.max_size_y) and (x >= 0 and y >= 0): if (x, y) not in self.data: self.data[(x,y)] = player - player.add_mark((x,y)) + player.add_mark(x,y) else: errorMessage = "The mark is already busy by the Player " + str(self.data[(x, y)].get_name()) raise KeyError(errorMessage)