From: Neil Date: Tue, 13 May 2014 19:42:00 +0000 (+0200) Subject: Don't scrible on the original image X-Git-Tag: 0.1~325 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=852f6ef95f5d1c1738d697f6589d0593afe1db29;p=naja.git Don't scrible on the original image --- 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,