Ticket #4486: orig.patch

File orig.patch, 510 bytes (added by sumitzster, 11 years ago)

Patch file

  • .py

    old new  
    120120            self._dots[i].type = dot
    121121            self._dots[i].set_shape(self._new_dot(
    122122                    self._colors[self._dots[i].type]))
     123            if dot==0:
     124                count = self._count([2, 4], self._dots[i])
     125                if count>0:
     126                    self._dots[i].set_label(count)
    123127
    124128    def save_game(self):
    125129        ''' Return dot list for saving to Journal or