blit actually wants a pos, no need to calculate the rect
[naja.git] / naja / widgets / tile.py
index a152f765a102de9511e030b84ec4285337ad04d3..cba4658e147b59558cba4e28709b9e0e77a359e2 100644 (file)
@@ -47,4 +47,4 @@ class TileWidget(Widget):
                 y_offset += 32
 
     def draw(self, surface):
-        surface.blit(self.surface, self.rect)
+        surface.blit(self.surface, self.pos)