From 852f6ef95f5d1c1738d697f6589d0593afe1db29 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 13 May 2014 21:42:00 +0200 Subject: [PATCH] Don't scrible on the original image --- naja/widgets/robot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/naja/widgets/robot.py b/naja/widgets/robot.py index cbeba2e..9f3afc6 100644 --- a/naja/widgets/robot.py +++ b/naja/widgets/robot.py @@ -28,7 +28,7 @@ class RobotWidget(Widget): self.pos = (self.state.player.position[0] * TILE_SIZE[0], self.state.player.position[1] * TILE_SIZE[1] + BIT_SIZE[1]) self.surface = resources.get_image('board/robot.png', - transforms=(EIGHT_BIT,)) + transforms=(EIGHT_BIT,)).copy() for bit, img_name in IMG_MAP.iteritems(): if self.state.player.bits.check_bit(bit): bit_img = resources.get_image(img_name, -- 2.34.1