diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-10-17 02:33:46 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-10-17 02:33:46 (GMT) |
commit | 79f95a1996d9afc7cd52d7673065cdf026d04af6 (patch) | |
tree | 38f12e21bbc0ab371f4478934dea51e5851fba3c /playerscoreboard.py | |
parent | 4cbd6890e2d5785e763a26f39ecf3671d923bee2 (diff) |
Skip full flipping animation if second speaking card is correct
Diffstat (limited to 'playerscoreboard.py')
-rw-r--r-- | playerscoreboard.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/playerscoreboard.py b/playerscoreboard.py index 832c4d9..99b11bb 100644 --- a/playerscoreboard.py +++ b/playerscoreboard.py @@ -113,6 +113,9 @@ class PlayerScoreboard(gtk.EventBox): score_label = Score(self.fill_color, self.stroke_color) score_pixbuf_unsel = score_label.get_pixbuf() score_pixbuf_sel = score_label.get_pixbuf_sel() + else: + score_pixbuf_unsel = None + score_pixbuf_sel = None new_score = Score(self.fill_color, self.stroke_color, score_pixbuf_sel, score_pixbuf_unsel, self.status) |