From 129f100ed322409be5250da9ad9b2f70c3270174 Mon Sep 17 00:00:00 2001 From: Adam Mikolajczak Date: Mon, 11 Mar 2024 14:35:44 +0100 Subject: [PATCH] small correction --- src/tile.py | 2 +- src/tractor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tile.py b/src/tile.py index 2082e45b..b4b9e577 100644 --- a/src/tile.py +++ b/src/tile.py @@ -23,7 +23,7 @@ class Tile(pygame.sprite.Sprite): def set_type(self, type): self.type = type if self.type == 'grass': - self.image = pygame.image.load('src/images/grass.png').convert() + self.image = pygame.image.load("images/grass.png").convert() # you can set TILE_SIZE in the .env file to adjust the window size load_dotenv(find_dotenv()) TILE_SIZE = int(os.getenv("TILE_SIZE")) diff --git a/src/tractor.py b/src/tractor.py index e332c53a..1cc10031 100644 --- a/src/tractor.py +++ b/src/tractor.py @@ -6,7 +6,7 @@ class Tractor(pygame.sprite.Sprite): def __init__(self, field): super().__init__ self.field = field - self.image = pygame.image.load('src/images/tractor.png').convert_alpha() + self.image = pygame.image.load('images/tractor.png').convert_alpha() # you can set TILE_SIZE in the .env to adjust window size load_dotenv(find_dotenv()) TILE_SIZE = int(os.getenv("TILE_SIZE"))