From 79f95a1996d9afc7cd52d7673065cdf026d04af6 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Sat, 17 Oct 2009 02:33:46 +0000 Subject: Skip full flipping animation if second speaking card is correct --- (limited to 'playerscoreboard.py') 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) -- cgit v0.9.1