replaced a stub for the IndexError
This commit is contained in:
parent
8a2b116da5
commit
63abd8813f
@ -21,7 +21,7 @@ class GameMap:
|
|||||||
if x <= max_size_x or y <= max_size_y:
|
if x <= max_size_x or y <= max_size_y:
|
||||||
self.data[(x,y)] = player
|
self.data[(x,y)] = player
|
||||||
else:
|
else:
|
||||||
raise IndexOutOfBounds
|
raise IndexError()
|
||||||
|
|
||||||
|
|
||||||
def equal(what, to):
|
def equal(what, to):
|
||||||
|
Loading…
Reference in New Issue
Block a user