diff options
author | André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) |
commit | 1f472cbce3b892938e25fd955e91bf2258761d6e (patch) | |
tree | c726335d17b0f909278ffc3f143215145a60fb45 | |
parent | a1dffeafb103f33b1f5d32bb2736c1462f3a1135 (diff) |
Reset player colors when reseting games.
-rw-r--r-- | activity.py | 2 |
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() |