Commits

Szymon Wróblewski committed f5e9244

fixed Block instances using common rect

Comments (0)

Files changed (1)

alchemymadness/blocks.py

         super(Block, self).__init__(color, *groups)
         self.parent = parent
         self.t_image = resources.block
+        self.rect = self.rect.copy()
         self.position = [0, 0] # topleft corner of grid
         self._top = float(self.rect.top)