Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
authorAndrés Ambrois <andresambrois@gmail.com>2008-08-28 19:17:43 (GMT)
committer Andrés Ambrois <andresambrois@gmail.com>2008-08-28 20:11:12 (GMT)
commit1f472cbce3b892938e25fd955e91bf2258761d6e (patch)
treec726335d17b0f909278ffc3f143215145a60fb45 /activity.py
parenta1dffeafb103f33b1f5d32bb2736c1462f3a1135 (diff)
Reset player colors when reseting games.
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/activity.py b/activity.py
index c0a49a2..e475d17 100644
--- a/activity.py
+++ b/activity.py
@@ -270,6 +270,8 @@ class PlayGo(Activity):
def restart_game(self, widget=None):
logger.debug('Received restart signal!')
+ self.CurrentColor = 'B'
+ self.PlayerColor = 'B'
self.game.clear()
self.board.status = self.game.status
self.board.do_expose_event()