diff -r ccc5ed68222d -r e7a464fb6d39 Source/DemoBoardView.m --- a/Source/DemoBoardView.m Mon Jul 14 21:46:09 2008 -0700 +++ b/Source/DemoBoardView.m Sun Jan 11 00:02:27 2009 -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]; }