missing copy to restore initial game state

master
Simon Pirkelmann 2021-09-05 23:42:08 +02:00
parent 9eea9bd245
commit ff6caa457f
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ class Game:
self.robot.x = self.initial_pos[0]
self.robot.y = self.initial_pos[1]
self.robot.orientation = self.initial_pos[2]
self.board.tiles = self.inital_board_tiles
self.board.tiles = self.inital_board_tiles.copy()
return 'input'
def run(self):