Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/card.py
diff options
context:
space:
mode:
Diffstat (limited to 'card.py')
-rw-r--r--card.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/card.py b/card.py
index 31533be..c5e9a40 100644
--- a/card.py
+++ b/card.py
@@ -65,7 +65,7 @@ class Card:
if self.orientation == 360:
self.orientation = 0
if rotate_spr is True:
- self.spr.images[0] = self.images[int(self.orientation/90)]
+ self.spr.set_shape(self.images[int(self.orientation/90)])
self.spr.draw()
def print_card(self):