diff --git a/modele.py b/modele.py index 0cb18be..8ad6e47 100644 --- a/modele.py +++ b/modele.py @@ -50,6 +50,7 @@ class Kontener(pygame.sprite.Sprite): self.x = x self.y = y pygame.sprite.Sprite.__init__(self) + self.image = pygame.image.__init__() self.rect = pygame.Rect(self.x * WIDTH + MARGIN * self.x + MARGIN, self.y * HEIGHT + MARGIN * self.y + MARGIN, WIDTH, HEIGHT)