diff --git a/source/__pycache__/tile.cpython-311.pyc b/source/__pycache__/tile.cpython-311.pyc index e6da2c6..a51e17d 100644 Binary files a/source/__pycache__/tile.cpython-311.pyc and b/source/__pycache__/tile.cpython-311.pyc differ diff --git a/source/tile.py b/source/tile.py index 83758bf..c94e77a 100644 --- a/source/tile.py +++ b/source/tile.py @@ -44,7 +44,7 @@ class Tile: self.image = "resources/images/dirt.png" self.photo = "resources/images/background.jpg" ground = self.ground - if ground.obstacle and (self.x, self.y) != (170,100): #warunek po and do zmiany + if ground.obstacle and self.x != 170 and self.y != 100: #warunek po and do zmiany self.image = "resources/images/rock_dirt.png"