really small bug fix

This commit is contained in:
MarRac 2024-04-14 23:45:41 +02:00
parent 1ac8500c8f
commit 75b3ca043a
2 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class Tile:
self.image = "resources/images/dirt.png" self.image = "resources/images/dirt.png"
self.photo = "resources/images/background.jpg" self.photo = "resources/images/background.jpg"
ground = self.ground 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" self.image = "resources/images/rock_dirt.png"