Ticket #4486: diff.patch

File diff.patch, 851 bytes (added by Rach4d, 11 years ago)

Patch made to game.py from CookieSearch Activity

  • .activity/SearchActivity.py

    old new  
    7979                          colors=self.colors)
    8080        self._setup_presence_service()
    8181
    82         if 'dotlist' in self.metadata:
    83             self._restore()
    84         else:
    85             self._game.new_game()
     82        self._game.new_game()
    8683
    8784    def _setup_toolbars(self):
    8885        """ Setup the toolbars. """
     
    267264    def _receive_new_game(self, payload):
    268265        ''' Sharer can start a new game. '''
    269266        dot_list = json_load(payload)
    270         self._game.restore_game(dot_list)
     267        self._game.new_game()
    271268
    272269    def send_dot_click(self, dot, color):
    273270        ''' Send a dot click to all the players '''