Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/playerscoreboard.py
diff options
context:
space:
mode:
Diffstat (limited to 'playerscoreboard.py')
-rw-r--r--playerscoreboard.py3
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)