diff -r ccc5ed68222d -r 0b1c315ffc64 Source/DemoBoardView.m --- a/Source/DemoBoardView.m Mon Jul 14 21:46:09 2008 -0700 +++ b/Source/DemoBoardView.m Sun Feb 06 16:31:03 2011 -0800 @@ -49,19 +49,23 @@ - (void) startGameNamed: (NSString*)gameClassName { + [self.game removeObserver: self + forKeyPath: @"currentPlayer"]; + [self.game removeObserver: self + forKeyPath: @"winner"]; + [super startGameNamed: gameClassName]; - Game *game = self.game; - [game addObserver: self + [self.game addObserver: self forKeyPath: @"currentPlayer" options: NSKeyValueObservingOptionInitial context: NULL]; - [game addObserver: self + [self.game addObserver: self forKeyPath: @"winner" options: 0 context: NULL]; - self.window.title = [(id)[game class] displayName]; + self.window.title = [(id)[self.game class] displayName]; }