From ff6caa457f9b8ec0f43a2d548dba2de35ccc2e22 Mon Sep 17 00:00:00 2001 From: Simon Pirkelmann Date: Sun, 5 Sep 2021 23:42:08 +0200 Subject: [PATCH] missing copy to restore initial game state --- gauss-turing/webserver/gauss_turing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gauss-turing/webserver/gauss_turing.py b/gauss-turing/webserver/gauss_turing.py index 609a5b2..98f9043 100644 --- a/gauss-turing/webserver/gauss_turing.py +++ b/gauss-turing/webserver/gauss_turing.py @@ -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):