MERGE WITH PREV COMMIT
This commit is contained in:
parent
a465c966a7
commit
25930cc7fb
@ -19,7 +19,6 @@ class GameMap:
|
||||
|
||||
def add_mark(self, x, y, player):
|
||||
if (x <= self.max_size_x and y <= self.max_size_y) and (x >= 0 and y >= 0):
|
||||
self.data[(x,y)] = player
|
||||
if (x, y) not in self.data:
|
||||
self.data[(x,y)] = player
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user